Warning: Cannot Use A Scalar Value As An Array [FIX IT]
- Forums
- PHP
- Warning: Cannot Use A Scalar Value As An Array [FIX IT]
i need help with a PHP error i am getting. well, its actually not an error, but rather a warming, i don know how to get rid of it. i dont even know how i am doing to generate the error. [1294], Last Updated: Sat May 18, 2024
alevatred
Thu Feb 17, 2011
3 Comments
688 Visits
i need help with a PHP error i am getting. well, its actually not an error, but rather a warming, i don know how to get rid of it. i dont even know how i am doing to generate the error. you guys helped me last time, so i was wondering if you can help me today with this issue. the error says:
Warning: Cannot use a scalar value as an array in /var/www/html/index.php on line 35
$posts[$i] = array();
$posts[$i][0] = $row[0];