|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using the php and mysql, is it possible the retrieved data to be linked in a webpage?
Hi,
I am using now php and mysql for a project. does anybody now if the retrieved data can be linked with a web page? For example if the retrieved data are the name of a person, if Somebody clicks in this name, can his peronal page be appeared? Thanks |
|
#2
|
||||
|
||||
|
of course. What I would do is make this person's name be a hyperkink that opens a new window with his/her name as a parameter such as:
http://www.whatever.com/index.html?name=Steve The new window should have PHP that retrieves the data associated with the name "Steve" and display that data in the popup widow. Make sense?
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
|
#3
|
|||
|
|||
|
thank you very much, i will try what you said!!
|
|
#4
|
|||
|
|||
|
hi Sharnog,
the problem is that if the retrieved data are two different names for example Steve bucanan and george woulvs, how can be these retrieved data be linked, so by clicking in Steve Bucanan, his home page will apear and by clicking George Woulvs, his also homepage will apear. |
|
#5
|
||||
|
||||
|
Make the name of the person part of the link that will open the new window. Then use ASP's Request.Querystring to find out which name you clicked on. Once you have isolated the name in the querystring you can open a database connection and retrieve all the information for Steve Buchanan or George Woulvs. The window that opens will request the same information regardless of what the name is.
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Using the php and mysql, is it possible the retrieved data to be linked in a webpage? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|