Please help me out!!!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Please help me out!!!

Postby ym_chaitu » 18. November 2009 10:23

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.
--
Chaitanya Babu Yanamadala
www.drvirusindia.co.cc
User avatar
ym_chaitu
 
Posts: 33
Joined: 13. November 2009 08:26
Location: Bangalore,India

Re: Please help me out!!!

Postby Stepke-DSL » 18. November 2009 11:10

And what is the question?
Stepke-DSL
 
Posts: 313
Joined: 12. July 2007 16:08
Operating System: Win XP Pro SP3 + SuSe Linux

Re: Please help me out!!!

Postby ym_chaitu » 18. November 2009 11:14

can anyone give me a hint hwo to do it out..
--
Chaitanya Babu Yanamadala
www.drvirusindia.co.cc
User avatar
ym_chaitu
 
Posts: 33
Joined: 13. November 2009 08:26
Location: Bangalore,India

Re: Please help me out!!!

Postby Nobbie » 18. November 2009 11:23

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.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 186 guests