mike12255 Posted July 18, 2009 Share Posted July 18, 2009 Im not sure whats wrong with this line, this is the same way i've done this type of things before, does anyone see the problem? <?php echo "<form method=\"post\" action=\"edit.php?page='".$page."'\">"; ?> Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/schoolw1/public_html/test/universal.php on line 59 Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /home/schoolw1/public_html/test/universal.php on line 59 Link to comment https://forums.phpfreaks.com/topic/166433-solved-whats-wrong-with-this-line/ Share on other sites More sharing options...
jamesxg1 Posted July 18, 2009 Share Posted July 18, 2009 <?php echo "<form method=\"post\" action=\"edit.php?page= . '$page' .\">"; ?> Try this, see if it works Link to comment https://forums.phpfreaks.com/topic/166433-solved-whats-wrong-with-this-line/#findComment-877652 Share on other sites More sharing options...
mike12255 Posted July 18, 2009 Author Share Posted July 18, 2009 seems to have workd, thanks Link to comment https://forums.phpfreaks.com/topic/166433-solved-whats-wrong-with-this-line/#findComment-877654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.