database to variable

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
Purnell
Forum Newbie
Posts: 1
Joined: Sun Jun 21, 2009 1:23 pm

database to variable

Post by Purnell »

I want to use an entry in my database and make it in to a variable

for example

so database query returns country = England

I then went to use England as a variable to assign a value

Thank you
St1ckman
Forum Newbie
Posts: 7
Joined: Fri Jun 19, 2009 12:31 pm

Re: database to variable

Post by St1ckman »

Any code to go off?
Post Reply