PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
alert (namelist);
am having a js function which returns the a value
i want to assign this value to a php value
for eg $test = namelist;
i tried this code
<?php $test = ?> namelist;
it shows an syntax error
how can i achieve the desired result
any body help pls
hey, ur question is unclear or atleast I dont understand it.
Anyway im guessing you want to take a value from a html page that comes from a javascript source?
if thats the case then you can have a html form that uses GET or POST to send to the php page.