472,146 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

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 1877
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
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.