Assign variables in array problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
famouskey
Forum Newbie
Posts: 6
Joined: Mon Aug 05, 2002 4:42 pm

Assign variables in array problem

Post by famouskey »

Got a question here for PHP 4.2+:

How do I do the equivalent of the statement below in version 4.2+:

echo "$Timetable[0]";
echo "$Timetable[1]";
etc...

Would it be something like $_GET['Timetable[0]'] ?
User avatar
PaTTeR
Forum Commoner
Posts: 56
Joined: Wed Jul 10, 2002 7:39 am
Location: Bulgaria
Contact:

Post by PaTTeR »

Would it be something like

Code: Select all

$GETїThimetable]ї1];
Post Reply