Jump to content

Include a variable into a href


aztec

Recommended Posts

Hello

I have a website that I am trying to upgrade so that all the data can be placed into a MySql database.

I know what I need but I do not know if it is possible with PHP and MySql.

 

I need to insert into a Href link a variable so that when the link is clicked it would initiate a MySql search for data.

 

The variable would contain the Key id of the person whose name was clicked. This is very difficult to explain so a visit to the static website may help understand what I am trying to achieve, www.westonheritage.co.uk

If you go to the second page by clicking the key then click on any of the surnames listed.

 

I have the database setup on localhost and can get out the data I require.

 

Kind regards

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.