Guys I need help how to refresh variables in previously created variables. For example I created a url with data taken from variables. I wish that when I change/update data in one field, that variables data should also update in that url. I will call following link (update1.php) from update.php http://www.globalcashsite.com/update1.php?added=20-Dec-09&lastpay=01-Jan-10&m_status=Paying&programid=59 Now above link is created before field update. I wish when I update lastpay field, that updated figure also changes in above url? Please let me know how to do this? GCS
Just set all the other variables in inputs or hidden inputs that you need and then use a hidden input for the date like so: <input type="hidden" name="lastpay" value="<?php echo date(m-d-Y); ?>" />.
Thank you for addressing my problem. Please visit this thread to understand what I want to do? http://forums.digitalpoint.com/showthread.php?t=1634870 Problem is very simple, display 10 records at same time and update fields and update these records easily, either by one click or by 10 clicks. First I displayed 10 records by array/sql command and now I wish to have update link/button infront of each row so if I update only one row I can click link/button and script may update new values of those fields. Simply how to send script to any function by submit button or link? I prefer good looking submit button. GCS