By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,990 Members | 1,741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,990 IT Pros & Developers. It's quick & easy.

Displaying mail id as an hyperlink

P: 21
Hello all,
How to diaplay the email ID fetched from the mysql database as an hyperlink using php and html

With regards,
kumuda
Aug 17 '07 #1
Share this Question
Share on Google+
6 Replies


ak1dnar
Expert 100+
P: 1,584
Hello all,
How to diaplay the email ID fetched from the mysql database as an hyperlink using php and html

With regards,
kumuda
Hyperlink to where? to open email client or to URL?

How to ask a question
Give as much detail as possible When you post a question or problem, express the situation clearly and concisely and include all relevant information, code used, data used, result expected, result achieved and any error codes or messages that you get as a result.
Aug 17 '07 #2

P: 2
consider an example iam retriving an id from database
Expand|Select|Wrap|Line Numbers
  1. $selectq=mysql_query("select * from tablename where id=".$id);
  2. if($row=mysql_fetch_array($selectq))
  3. {
  4. $email=$row['column name'];
  5. }
  6. <table><tr><td><a href="mail to:<?php echo $email;?>"><?php echo $email;?></a></td></tr></table>
  7.  
try this
with regards
sharathy
Aug 17 '07 #3

P: 21
Thank you so much for your reply. I got the solution for this. This is the hyperlink for client.

And I have one more issue, How can I pass the data from child window to parent window. I have already written the code to fetch the data from mysql database and and display it in the child window in the form of table. And when user selects the particular name. the same name should get transfered to parent window. How do I do this using PHP.

With regards,
kumuda
Aug 18 '07 #4

pbmods
Expert 5K+
P: 5,821
Heya, Kumuda.

PHP doesn't work that way. I recommend that you ask this question in the JavaScript forum.
Aug 18 '07 #5

P: 21
Thank you so much for your reply.
Aug 18 '07 #6

pbmods
Expert 5K+
P: 5,821
Heya, Kumuda.

No problem.

Good luck with your project, and if you ever need anything, post back anytime :)
Aug 18 '07 #7

Post your reply

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