3 Replies - 6048 Views - Last Post: 11 March 2009 - 08:16 PM Rate Topic: -----

#1 Azorgi01  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 39
  • Joined: 08-March 09

Use PHP to unload and load PHP

Posted 11 March 2009 - 07:04 PM

Ok, this may seem odd, but what I want to do is this.
Is it possible to have a php script load a menu, and then on that menu,
have links that will load a PHP script onto that page, and then another link
will unload it and load a new one?

Basically, I am trying to not use frames cause I hate them.

I would like to have a nice table and have it load pages in the table
without having to re-load the whole page.

Any suggestions?

Is This A Good Question/Topic? 0
  • +

Replies To: Use PHP to unload and load PHP

#2 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2892
  • View blog
  • Posts: 10,027
  • Joined: 08-August 08

Re: Use PHP to unload and load PHP

Posted 11 March 2009 - 07:14 PM

To "load" php scripts you can use include/require. But unload? You know that php runs on the server, right? The user doesn't see anything until php is done. If they click something like a submit button, the page gets refreshed by running php again, unless you're using ajax.
Was This Post Helpful? 0
  • +
  • -

#3 Azorgi01  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 39
  • Joined: 08-March 09

Re: Use PHP to unload and load PHP

Posted 11 March 2009 - 07:25 PM

View PostCTphpnwb, on 11 Mar, 2009 - 06:14 PM, said:

To "load" php scripts you can use include/require. But unload? You know that php runs on the server, right? The user doesn't see anything until php is done. If they click something like a submit button, the page gets refreshed by running php again, unless you're using ajax.

Ahhh, that's right. I keep getting the server client thing screwed up.

Ajax is Java right?
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2892
  • View blog
  • Posts: 10,027
  • Joined: 08-August 08

Re: Use PHP to unload and load PHP

Posted 11 March 2009 - 08:16 PM

Ajax is a communications scheme between Javascript (NOT Java) and php.
http://www.ajaxf1.co...l/ajax-php.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1