PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
It is currently Sat Nov 17, 2018 9:13 am

All times are UTC - 5 hours

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: reload page is correct?
PostPosted: Wed Jan 11, 2012 8:10 pm 
Forum Newbie

Joined: Wed Jan 11, 2012 8:05 pm
Posts: 2
hello guys, im new in php and i have a problem, i have create a php site that works ok but in my android phone, after i use for some hour delays the browsers ( i have test lot of browsers)

Syntax: [ Download ] [ Hide ]
<? ob_start(); ?>



some code and conection to mysql

                                         $_SESSION['address_tmp']=$_SESSION['address_tmp']." oK ";

                                         $_SESSION['address2_tmp']=$_SESSION['address2_tmp']." hello ";


<form method="post" action="">
<input type="Submit" name="sub_1" value="action1"style="height:3.9em; width:16.5em; font-size:95%;">

<form method="post" action="">
<input type="Submit" name="sub_2" value="action2"style="height:3.9em; width:16.5em; font-size:95%;">

<? ob_end_flush(); ?>

but every page have 10-15 buttons like the above is the code, and every button in the end reloads the same page with header("location:thispage.php#jumpselection"); or cals another page with header("location:some_other_page.php#jumpselection");

this works but i notise some lag on the bowser afrer while..

the <? ob_end_flush(); ?> <? ob_start(); ?> is ok?? h have place this at the first and last line of the php file

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: Google [Bot] and 5 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group