Thanks cLFlaVA.
That did the trick. Obviously I need to read up on DHTML.
As for the typos, I did cut'n'paste the actual code, but I also tried to omit certain parts that was in my language, wich would only clutter the code, and make no sense whatsoever. Guess I kinda rushed thru it...
As you can see from the code, I have a div tag wich displays a set of vars. I'm looking to change the content of the vars, and update the div in one operation. Thus the "changetext" button. But I've looked everywhere, and can't seem to get info on how to refresh the div without refreshing the...
Just throwing in my 5 cents...
If you use php to generate html, you also get the added bonus of the php-session being active in the entire page. I'm not sure how important it is to everyone, but it is very much so for me, as I'm working with databases.
Nobody enjoys shooting penguins, but if...
Yup, I agree with adam0101. Use something like this:
<?php
print '<sometag>What you want to display</sometag>';?>
Can't rember the exact code on the fly, but I am fairly sure this is it, or at least very close. Hope it helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.