Menu

#1 Bad HTML in edit.php

open
nobody
None
5
2014-11-15
2006-01-12
Gryc Ueusp
No

"bad html in edit.php...It works ok in firefox, but
IE doesnt like bad html...poo on them. I forgot a
lessthan sign in the form... "

Repaired code to be included in the next version:

Replace in edit.php:

<?php echo '<input type="text" value="Username"
name="username"'; ?>
<?php echo '<input type="password" value="Password"
name="password"'; ?>

With:

<?php echo '<input type="text" value="Username"
name="username"/>'; ?>
<?php echo '<input type="password" value="Password"
name="password"/>'; ?>
===============================
Also, a small visual fix:
Replace in edit.php:

echo '" />;<textarea rows="15" name="text"
cols="53">'; ?>

With:

echo '" /><textarea rows="15" name="text"
cols="53">'; ?>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB