array / variable problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: array / variable problem

Post by WiZARD » Sun Jan 19, 2003 6:04 am

Try change at this if you want what in your array contain only digit:

Code: Select all

$lay1 = array(1 , 2 , 3 , 4, 5, 6);

or char:

Code: Select all

$lay1 = array("1" , "2" , "3" , "4", "5", "6");


P.S. And don't forget what in array first key is zero not one...

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests