hisotry -1

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
micknic
Forum Commoner
Posts: 37
Joined: Thu Feb 27, 2003 1:27 pm
Location: belgium

hisotry -1

Post by micknic »

Hi

I would like to include javascript in my php code.
this is what I made:
if ($autoverif <> O) {
here i would like to include my javacsript to do history -1
}

Can someone tell me how to do the javascript???

Thanks a lot
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You can just echo the JavaScript code as you would HTML code - it won't run at the same time as the PHP though:
viewtopic.php?t=1030

Mac
Post Reply