Forum Moderators: coopster

Message Too Old, No Replies

Question about forms and includes

         

tresmom5

2:02 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



I am trying to basically make a quiz that has one question per page. I know how to do this, but I don't want the page to look like it's reloading everytime. I have ads on my site and I know most people would want them to reload every time I don't for a 40 question quiz. I first thought if I made the quiz part on a page as an include on another page this would resolve the problem. Nope, doesn't because it loads the whole new page and not just the include section. I am really new at php so I don't know how to do that much. Any ideas on how to do this? I thought about using frames, but really don't want to do that if I can help it. Any thoughts would be appreciated.

jatar_k

3:38 pm on Jul 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



if you use php for this it will have to reload every time. PHP is a server side language and unless the information goes back to the server php has no clue what is going on.

you could look at some type of javascript, frames, iframes, layers or some other client side solution.

tresmom5

4:16 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



Thanks, that was what I was afraid of. I know a little php, but I don't know javascript really at all. I just didn't want to have to try and learn anything else new.