473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Displaying mail id as an hyperlink

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
6 1616
ak1dnar
1,584 Expert 1GB
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
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
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
5,821 Expert 4TB
Heya, Kumuda.

PHP doesn't work that way. I recommend that you ask this question in the JavaScript forum.
Aug 18 '07 #5
Thank you so much for your reply.
Aug 18 '07 #6
pbmods
5,821 Expert 4TB
Heya, Kumuda.

No problem.

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

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

Similar topics

0
by: CalTex | last post by:
I have a check box on my Contract Tracter form and when the client checks the box an automated e-mail is sent out. In that e-mail I would like to attach a field on the form that is a hyperlink to...
0
by: dave | last post by:
Please can anyone advise if it is possible to display the file contents of a hyperlinked file in a report. I have a field in a table for each record which stores a hyperlink address to a picture...
9
by: Peter Afonin | last post by:
Hello, I created an e-mail form pretty much as described in this article: http://www.4guysfromrolla.com/webtech/080801-1.shtml. It works great, but I cannot figure out one thing: I need to...
10
by: Ian Kelly | last post by:
Hi All, Does anyone know how to execute a hyperlink programically? I need to create and send an email message, but I need to have the default mail editor loaded and populated with the message...
1
by: tshad | last post by:
Is there some reason why the Hyperlink in a DataGrid will not show an image? I have a datagrid with the following: <asp:TemplateColumn visible="false" HeaderText="Skills"> <itemtemplate>...
3
by: William LaMartin | last post by:
I have a gridview (with no properties set) on an aspx page which I populate from an XML file with the code below. The data in the XML file looks like this <description>National Trust for...
1
by: Simon | last post by:
Dear reader, How to print an e-mail address if the address is stored in a datatype Hyperlink field. If I use the Hyperlink field in a report than by print the field shows more as only the...
1
by: tomlebold | last post by:
My Access 2003 applicaton is attempting to store the path and file name of a PDF file in a hyperlink column. After clicking on the hyperlink a form displays the following error: Hyperlinks can be...
3
by: Phasma | last post by:
Hi I'm pretty new to access and am a bit stuck on the following. I have a table which contains a field called and is set to hyperlink. The form I use to input data has a text box bound to this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.