Ok, I’ve got a real simple question about a php script I’m trying to develop.
I’m trying to access a database, and display information based on the search. This is the code I am using to query teh DB and display the info regarding the query:
[code]$query = “select * from DB_TABLE where domain=$domain”;
$result = mysql_db_query (“DATABASE_NAME”, $query);
[/code]Is there any reason that this code wouldn’t work at all? I can get no results using this.
I’d give my right arm to be ambidexterous!