srk2010 Posted January 12, 2010 Share Posted January 12, 2010 :'(can you help me guys This is the link. --------------------------------------------------------------------------------------------------------------------- <a href="wallpapers.php?celebrity=deepika"> image</a> --------------------------------------------------------------------------------------------------------------------- after cicking the link i will go to wallpapers.php?celebrity=Deepika on this page i have --------------------------------------------------------------------------------------------------------------------- <?php include "connection.php"; $select="select * from gallery where (img_name='".$_REQUEST['celebrity']."') order by id limit 0,1"; $img_query=mysql_query($select) or die(mysql_error()); while($image=mysql_fetch_array($img_query)) {?> <?php echo "<img src='img/tmp.jpg' "; }?> --------------------------------------------------------------------------------------------------------------------- pagination 1 2 3 4 5 --------------------------------------------------------------------------------------------------------------------- forthe first page i have data related to the requested value after clicking the 2nd page in pagination the requested value is not there.I get blank page with no data so i need to store the variable and get access to that requested value with every page in pagination to that particular value is it possible ? any help is highly appreciated Link to comment https://forums.phpfreaks.com/topic/188256-storing-the-requested-value-to-get-accessany-help-is-highly-appreciated/ Share on other sites More sharing options...
lemmin Posted January 12, 2010 Share Posted January 12, 2010 Can you post your code for the pagination output? Those links are where you need to put in the information about the page you are looking for and any other information. Link to comment https://forums.phpfreaks.com/topic/188256-storing-the-requested-value-to-get-accessany-help-is-highly-appreciated/#findComment-993847 Share on other sites More sharing options...
srk2010 Posted January 13, 2010 Author Share Posted January 13, 2010 actually there is no problem with the pagination friend i need to know how to store the requested value for the forthcoming pages just give me an idea regarding that.Thankyou friend Link to comment https://forums.phpfreaks.com/topic/188256-storing-the-requested-value-to-get-accessany-help-is-highly-appreciated/#findComment-993996 Share on other sites More sharing options...
Sesquipedalian Posted January 13, 2010 Share Posted January 13, 2010 Why not use a session variable? http://www.php.net/manual/en/book.session.php Link to comment https://forums.phpfreaks.com/topic/188256-storing-the-requested-value-to-get-accessany-help-is-highly-appreciated/#findComment-994001 Share on other sites More sharing options...
lemmin Posted January 14, 2010 Share Posted January 14, 2010 If you don't have the values for the forthcoming pages, it doesn't seem like the pagination would work. It probably isn't necessary to use session variables either. If you could post more code, it would be easier for people to help you. Link to comment https://forums.phpfreaks.com/topic/188256-storing-the-requested-value-to-get-accessany-help-is-highly-appreciated/#findComment-995137 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.