You are here: Running PHP code in Javascript function « PHP Programming Language « IT news, forums, messages
Running PHP code in Javascript function

Posted by Japhy on 11/24/05 05:57

Hello,
Should I be able to run something like :

function setvars()
{
<?php $_SESSION['VARa'] = 'ABC' ; ?>
}

I saw something at php.net (a user comment at
http://us2.php.net/function.session-start)
that made me think that I should be able to, but I can't get it to
work.
I want to set some PHP session variables

THANKS

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация