I have this piece of code in my PHP code:
while ($row = mysqli_fetch_assoc($result))
{
extract($row);
echo \"\";
echo \"
-
@Tomalak
You can use the square brackets characters "[" and "]" within XHTML
see
http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-transitional.dtd_input
So this means that a name can contain many different characters legally within XHTML, although it doesn't make much sense to use slashes or brackets.
PHP supports the use of array notation in form names, so you could be missing a trick if you don't use array notation in some instances.
- 热议问题