Using an external text file to create array ...

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

User avatar
evilchris2003
Forum Contributor
Posts: 106
Joined: Sun Nov 12, 2006 6:43 am
Location: Derby, UK

Post by evilchris2003 »

did the errors change?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

you need to single quote your values as they are strings.
kiajoe777
Forum Newbie
Posts: 12
Joined: Wed Dec 06, 2006 7:50 am

Post by kiajoe777 »

Burrito wrote:you need to single quote your values as they are strings.
Yes, you are right ... but now I get no output at all ...

but the error has gone away ...
Last edited by kiajoe777 on Wed Dec 06, 2006 10:48 am, edited 1 time in total.
User avatar
evilchris2003
Forum Contributor
Posts: 106
Joined: Sun Nov 12, 2006 6:43 am
Location: Derby, UK

Post by evilchris2003 »

no output as in a blank screen or errors?
kiajoe777
Forum Newbie
Posts: 12
Joined: Wed Dec 06, 2006 7:50 am

Post by kiajoe777 »

No error at all ...
Post Reply