Transfer values on 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
myharshdesigner
Forum Commoner
Posts: 43
Joined: Sat Apr 21, 2007 8:23 pm

Transfer values on the same page.......

Post by myharshdesigner »

there is a counter on page index.php

suppose $count
it will transfer it's value to $start

means $count = $start;

while i click on a link which will call index.php page again

now i use this php code :-

Code: Select all

if(!isset($start)) 
{ 
	$start = 0;
}
& it is not updating the value of $start.
Pl help me.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

You mean from one page view to another? You'll need to use sessions.
Post Reply