Ticks inside [ and ]
Posted: Tue Mar 30, 2004 7:10 pm
According to http://www.php.net/manual/en/language.t ... rray.donts , one cannot use $foo[bar]. Does this also apply to POST and GET variables such as
I thought it had to be

Code: Select all
<?php
$name = $_POST[name];
?>Code: Select all
<?php
$name = $_POST['name'];
<?