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!
Hi what I want is to have a table's height increase with each cycle of the loop, this is my code and please can someoen tell me how to get this effect... thanks for all help..
<?php
to be honest, i am just trying a few effects for a new site we are designing and thought it would be cool to be able to do such a thing fopr say a menu rollout without using Dhtml.... thus all serverside....
Don't forget that server-side means that everything is done on the server before anything is displayed in the browser. Client-side effects have to be done using client-side technologies. You'll need to keep refreshing the page to have a table change its height using PHP.
one query though, when I query a database for results and there ar a lot of results it actyually populates the page in real-time and doesn't run the whole script before outputting.... for an example, go to my site, http://www.kermin.com and in the advanced search type hotels...
that's because your output is not buffered or the buffer is flushed. Everything that is in that buffer is sent to the client and the buffer is empty again.
Most browsers display partial documents as soon as they can.