I am being baffled by something which should be so simple and seemingly looks correct as I've done something similar a long way up the code which works fine. Be grateful if you can help as I want to get this sorted.
echo "<input type='hidden' name='blog_id[]' value='" . $postid . "'>";
echo "<input type='text' name='blog_title[]' value='" . $editlist2['Title'] . "'>"
echo "<textarea id='editpost' name='blog_post[]'>" . $editlist2['Post'] . "</textarea>";
echo "<h1>This post originally contains " . $length . " characters. You may add up to " . $char_allowed . "more.</h1>";
echo "<h2>This post was first created by " . $editlist2['User'] . " - " . $editlist2['DateTime'] . ".</h2>";
The bottom three lines of the five are all causing issues. When I comment the third line out, the fourth one errors and so on.
The error is - 'Parse error: parse error, expecting `','' or `';'' in...'
echo "<input type='hidden' name='blog_id[]' value='" . $postid . "'>";
echo "<input type='text' name='blog_title[]' value='" . $editlist2['Title'] . "'>"
echo "<textarea id='editpost' name='blog_post[]'>" . $editlist2['Post'] . "</textarea>";
echo "<h1>This post originally contains " . $length . " characters. You may add up to " . $char_allowed . "more.</h1>";
echo "<h2>This post was first created by " . $editlist2['User'] . " - " . $editlist2['DateTime'] . ".</h2>";
The bottom three lines of the five are all causing issues. When I comment the third line out, the fourth one errors and so on.
The error is - 'Parse error: parse error, expecting `','' or `';'' in...'