Hi,
I am facing with the same problem. I ran the code in the myPHPadmin and got this message:
ERROR
SQL query:
FUNCTION valid_pid($pid) {
$pid = ( INT ) $pid;
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function valid_pid($pid){
$pid = (int)$pid' at line 1
Appreciate your help!!!
PHP Tutorial: Blog(Including commenting)
Re: PHP Tutorial: Blog(Including commenting)
Well, that is NOT an SQL query. It is plain php code.
Post all of your code and I'll take a look at it.
Post all of your code and I'll take a look at it.
Re: PHP Tutorial: Blog(Including commenting)
Wait, hang on... Did you try and run the PHP code as an SQL statement in phpmyadmin?