Page 1 of 1

Please help me out!!!

PostPosted: 18. November 2009 10:23
by ym_chaitu
Hi All,

I am trying to design my new website in PHP and I have two problems if anyone can help me or point me in the right direction I would appreciate it.

I am trying to create a html table in php & call data into one of the cells like:
_______________________________
Banner |
_______________________________
Navigation Menu |
_______________________________
Links | Content |
| |
| |
| |
| |
_______________________________|


I would ideally like to use this and call a link from the links cell to put content into the content box. This is so it will look like frames but not actually be frames.

Re: Please help me out!!!

PostPosted: 18. November 2009 11:10
by Stepke-DSL
And what is the question?

Re: Please help me out!!!

PostPosted: 18. November 2009 11:14
by ym_chaitu
can anyone give me a hint hwo to do it out..

Re: Please help me out!!!

PostPosted: 18. November 2009 11:23
by Nobbie
Why won't you use frames?

Remember: PHP is running on the server (not in the browser like JavaScript), and you only can generate HTML code dynamically, but it is still HTML. If you like to have a behaviour as FRAMES have, you should use FRAMES.

Or you must generate the WHOLE page (HTML code) again and send it to the client, but only the one content "frame" replaced by new contents. You *cannot* re-use parts of previously sent HTML and you *cannot* replace only parts of the screen. You can do everything, what you can do using HTML.

You may also use "AJAX", a JavaScript-API for generating dynamic HTTP Requests to remote servers, so you can dynamically re-design the HTML via JavaScript, where the Contents is delivered by a webserver. Very sophisticated, you need good knowledge about JavaScript, about HTTP Protocoll, about PHP and many more things. I dont like AJAX and I am not sure if you can manage that.