Submit in the same page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ishakya
Forum Commoner
Posts: 40
Joined: Tue Jan 04, 2011 4:58 am

Submit in the same page

Post by ishakya »

Hi All,
Wish you a merry Christmas.
I have page and i have created a page to submit data using

Code: Select all

<span id="s1" style="cursor:pointer;" onclick="center('dv_viewer'); $('#dv_viewer').load('file_viewer_chgs.php',{'a':'<?php echo $row3['bl_id']?>'}); $('#dv_viewer').fadeIn('1000'); $('#s1').css('text-decoration','underline');" onmouseout="$('#s1').css('text-decoration','none');">
This file viewer page is on test.php page
and user can enter some data and can save the data.
i wrote the insert query in the test.php and page get refreshed.
i need to view the earlier data on the test.page after submit the file_viewer_chgs.php
hope everyone got my idea.
Any help would be great.
Thanks in advance...
Post Reply