Jump to content

[SOLVED] array for string


alin19

Recommended Posts

Fatal error: [] operator not supported for strings in c:\program files\easyphp1-8\www\login\vizualizare date.php on line 262

 

i have records like: ian,feb,mar....,dec

 

 

if ($r=mysql_query($query))

{

while ($row = mysql_fetch_array($r))

{

 

$zile[]=$row['zi'];

$cupoane[]=$row['nr.cupoane'];

$luna[]=$row['luna'];

      echo " ";

}

}

 

what can i do here?

 

Link to comment
https://forums.phpfreaks.com/topic/90047-solved-array-for-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.