How to get variable value on next page


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

Hello friends
i am working on payentry page ..there i have this code.........

Code: $str="select MAX(PSRN) from paymajor";
Did you know?Explore Trending and Topic pages for more stories like this.
$result=mysql_query($str) or die(mysql_error());
while($row=mysql_fetch_assoc($result))
{
$psrn=$row['MAX(PSRN)']+1;
}
i need to print $psrn value in the success page......for that i am using
header ('Location: http://localhost/bitssap/success.php');

but after success its showing this meassage
Data entered successfully. The PSRN generated is $psrn

i am not able to print the value of psrn on success page
can anybody suggest me how to do this...
No comments posted yet

Your Answer:

Login to answer
218 Like 32 Dislike
Previous forums Next forums
Other forums

isset undefined variable
Hi all,

Hope someone can point out the obvious. I've a log in script, if you dont enter a use

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

Update data to upper case in parent/child tables
Hi Gurus!

In production we have a product table and which is being reference by many tabl

Email Form Syntax Issue
I need the TO: in email to display To: CEO instead of To: abc@mail.com

How to alter the scri

check_changed_data - I can't get data from the called method event
I use check_changed_data to trigger my event method.

The method delivers er_changed_data.

Having problemswith multithreading and prime numbers
I have an assignment when I'm suppose to do the following:

Write a multithreaded Java, Pt

Using real time in php
I'm very average at PHP and im looking to introduce time to something on my site.
Its a sports si

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