Could you fix my php script please?

Sean Surtz

New member
0){ if(strlen($comment)> 0){ $name = mysql_real_escape_string($name); $comment = mysql_real_escape_string($comment); }else{ echo "You know what letters are, right???"; } }else{ if(strlen($comment)> 0){ echo "Sp@m much???" $sql = "INSERT INTO 'guestbook'.'entries' ( 'ID' , 'name' , 'date' , 'comment' ) VALUES ( NULL , ;'$name' , UNIX_TIMESTAMP( ) , 'COMMENT BLAH BLAH' );"; mysql_query($sql); ?>




I am an amature html scripter "self teaching" and i could really use some help because that script is showing up on the page as text alright thanks if its completely wrong beyond repair then just tell me but if not then tell me what my problem is
 
Back
Top