View Single Post
Old January 31st, 2005, 09:33 PM
Snib Snib is offline
Friend of Wrox
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

Why exactly would you need to pass JavaScript functions to PHP? What are you trying to accomplish.

An equivalent to my code would be something like...

<script language="javascript" type="text/javascript">
    var sStr = "My name is <?php echo $_POST['username']; ?>.";


-Snib -
Where will you be in 100 years?