Jump to content

Way to position view after page refresh


mikeleblanc

Recommended Posts

hi below is the format of my html,

 

table1...............

table2..............

table3..............

table4.-............

href button

 

My question is whe my user clicks on href the php page is updates but i would like the view position to be in table4 not on top table1.  How do I do this?

 

Thanks,

 

 

Link to comment
https://forums.phpfreaks.com/topic/135279-way-to-position-view-after-page-refresh/
Share on other sites

Below did not work?  Any ideas please?

 

<td><a href="<?php print("$thispage?rowNumber=".$previous);?>"#suggestion>Previous</a></td>

 

 

 

In case you don't know what was wrong, the #suggestion was outside of the href="" tag.

 

ah I didnt notice that the first time. Should be using php tags as well as cleaner code.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.