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
hisotry -1
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
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
viewtopic.php?t=1030
Mac