josephbupe Posted December 4, 2012 Share Posted December 4, 2012 Hi, How can i edit a variable set in code through a webpage? I have two such variable I always change in code, but I want to change them through a webpage, namely: $counter==5 and $perpage=10 if($counter==5) { echo "</tr>\n<tr>\n<td colspn=2> \n</tr>\n<tr>\n"; $counter=0; } and //Number of items to display per page $perpage = 10; if(isset($_GET["page"])) { $page = intval($_GET["page"]); } else { $page = 1; } I will appreciate. Joseph Link to comment https://forums.phpfreaks.com/topic/271581-editing-variables-through-webfpage/ Share on other sites More sharing options...
BrettHartel Posted December 4, 2012 Share Posted December 4, 2012 How do you want to change them? I am confused. Can you offer more information. Link to comment https://forums.phpfreaks.com/topic/271581-editing-variables-through-webfpage/#findComment-1397416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.