469,623 Members | 1,416 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

SELECT from a Contact List

I have a contact list with 'name', 'www' and 'email'. Some entries do not have 'www' or 'email' or both.

I want to save space and make the 'name' a link to the web address only where a web address exists, otherwise leave it as normal text.

Where 'email' exists, I want to put an icon, otherwise be left blank. This arrangement could also work for the 'www' example.

Many thanks,
Jul 28 '06 #1
3 1802
4,258 Expert 4TB
So what is your question? And is this a MySql or a PHP question?

Ronald :cool:
Jul 28 '06 #2
Well, the question is, 'How can I do these things' in MySQL?

Jul 28 '06 #3
1,208 Expert 1GB
the links part will be a server side scripting
sql would be
select * from table
Jul 29 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Greg Bryant | last post: by
1 post views Thread by Robert Kattke | last post: by
6 posts views Thread by Chris Fink | last post: by
1 post views Thread by dhnriverside | last post: by
reply views Thread by freshman | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.