php variables help.

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
User avatar
volkan
Forum Commoner
Posts: 60
Joined: Sat Aug 21, 2004 1:12 pm
Location: London, United Kingdom

php variables help.

Post by volkan »

Hi
I have been experimenting with PHP variables.
But i cannot do what im trying.
I have a script, called pug.php

When I access a table in a DB (emails addresses to be excact), in a list sperated by a comma (',') when you access pug.php?email

any ideas?
Please Help me :(
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

Um... can you be more specific?
User avatar
volkan
Forum Commoner
Posts: 60
Joined: Sat Aug 21, 2004 1:12 pm
Location: London, United Kingdom

Post by volkan »

right.....

I have a script, pug.php.

In which people place some information.
Name
Name 2
Email
Specail ID.
these are recored in a db.

in the same script, I have a table,
where the entries in the db get pulled out to,
and displayed.

However I would also like a seprate page, from url:

pug.php?email

where it pull the email info from the db, but seprated them
with a comma rather than in a table.

eg:

xyz@xyz.com, xyz@xyz.com, xyz@xyz.com, xyz@xyz.com
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

perform a selection on the email addresses.. output each one in a loop.. what's the problem?
Post Reply