I have a simple query where there is only one answer.
$idx = mysql_query( "SELECT * FROM name_servers WHERE index like $dns1no"
$idx_result = mysql_result($idx,0,server);
echo $idx_result;
How can I display $idx_result?
$dns1no corresponds to an index field value from another table.
2 columns in name_servers are index and server
When $dns1no = the index, I want to see the value in the server column.
$idx = mysql_query( "SELECT * FROM name_servers WHERE index like $dns1no"
$idx_result = mysql_result($idx,0,server);
echo $idx_result;
How can I display $idx_result?
$dns1no corresponds to an index field value from another table.
2 columns in name_servers are index and server
When $dns1no = the index, I want to see the value in the server column.