I have been using the command:
[php] if (mysql_db_query ($database, $Query, $Link)) { [/php]
which is returning a Deprecated error.
In searches, I have found that I should be “Using mysql_select_db() and mysql_query() instead”, however I haven’t a clue as to how to use both of these together, to utilize the all of the $database, $Query and $Link parameters.
If I use just “mysql_select_db(…)” I get the error that it expects 2 parameters, but 3 given, so I assume I also need the mysql_query() function incorporated also… somehow?
I am using this to insert records into my MySql database. Can anyone advise the exact “if” command to use instead of mysql_db_query?