...

View Full Version : click link and insert into db



zodehala
05-14-2008, 03:53 PM
suppose that this is index.php
<?php
echo '<a href="read.php" target="_blank">Click</a>';


when i click this link at the same time i wantto insert some data to db

abduraooft
05-14-2008, 03:57 PM
Write the insert scripts in read.php.

RMcLeod
05-14-2008, 03:57 PM
What data (i.e. where has it come from)? Can the database query be done when the user lands on the new page or does it have to be done before hand?

zodehala
05-14-2008, 05:01 PM
What data (i.e. where has it come from)? Can the database query be done when the user lands on the new page or does it have to be done before hand?

it came from index.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum