I have no problems connecting to the database. But no matter what type of query I use, I keep getting this same error.1. <?
2. // This is the MySQL Server database connection
3.
4. $linkID = mysql_connect("localhost","","") or die("Connection error");
5.
6. mysql_select_db("MyFirstDatabase", $linkID);
7.
8. $query = "SELECT * FROM MyFirstTable"
9
10. $result = my_sql_query($query) or die(mysql_error());
11.
12. mysql_close($linkID);
13. ?>
It doesn't even make it to line 12.Fatal error: Call to undefined function: my_sql_query() in c:\program files\apache group\apache\htdocs\test.php on line 10
What am I doing wrong? Are there any permission issues in MySQL that I need to be aware of?