Jump to content

Recommended Posts

Hi

 

I am creating a basic forum for my site.  To begin with i just used boring old hyperlinks, but am now converting them to buttons.  The problem i have is that when a variable (ie. $id) neededs to be passed it doesn't work:

 

Before (working):

<a href='reply.php?id=$id'>Reply</a>

 

After (not working):

<FORM METHOD='LINK' ACTION='reply.php?id=$id'><INPUT TYPE='submit' VALUE='Reply' style='color: #ffffff; font-weight:bold; background-color: #003366; font-size:10px'></FORM>

 

When the button is clicked the address bar does not contain the value stored in the $id variable eg:

reply.php?id=

 

Can this be solved?

 

Many thanks

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.