How do I send data using an html link


Posted on 16th Feb 2014 07:03 pm by admin

Hi

If I have
<a href="main_file.php">

How do I send data to main_file.php

I have a group of links that are created on the fly and I want to give each link a value so that I can retrieve more info out of my database on individual items.
I don't realy want to use forms and buttons / tick boxes etc.

I'm looking for something like
<a href="main_file.php" VALUE = $_A_Variable>
So that I can identify which link was selected.

No comments posted yet

Your Answer:

Login to answer
346 Like 31 Dislike
Previous forums Next forums
Other forums

confused between ' ' and " "
there is a php i set:
$begin_date_query = mysql_query( "SELECT SUBDATE(due_date, INTERVAL $d

please help
HTML Code:

Code: <span id="ctl00"><span>

Warning: session_start() [function.session-start]: Cann.....
hi, can someone help me with this? I keep getting this error....

Warning: session_start() [fu

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

delete comma
HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2corr

Running a cron job through PHP/Apache?!
Hello all,
I have a PHP script which makes a cron file from user input. When i try to run the cro

Word filter problem
Hello,

im trying to make a filter for words inputted in to my website but i want to store the

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash