-
Using JS in PHP...
Heya,
This is a question.
I no what some of you are thinking about Javascript link-pop ups but I need to do this for a system.
HTML Code:
<a href="" onClick="alert('Message')">Click here...</a>
But I need it to be able to use varibles in PHP.
I tryed using echos but I just kept getting errors.
Anyone able to help?
Thanks
-
Its quite easy, youd just want to / out the js's "" so they dont intefear with the phps :D
-
Ta da. Thanks Mentor
on the url I just had to also add "#"
:P
Thanks <3