Page 1 of 1

php variables help.

Posted: Fri Mar 04, 2005 6:07 pm
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 :(

Posted: Fri Mar 04, 2005 6:46 pm
by Todd_Z
Um... can you be more specific?

Posted: Fri Mar 04, 2005 7:01 pm
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

Posted: Fri Mar 04, 2005 7:46 pm
by feyd
perform a selection on the email addresses.. output each one in a loop.. what's the problem?