You are here: Re: if null=true « All PHP « IT news, forums, messages
Re: if null=true

Posted by Gernot Frisch on 03/09/06 15:51

"Steve" <stephen@stephena.co.uk> schrieb im Newsbeitrag
news:1141906627.104452.167390@i40g2000cwc.googlegroups.com...
>i dont have a manual... i am using J.O. Aho's code as it is clearly
>the
> way forward however i get the following error:
>
> Parse error: parse error, unexpected T_BOOLEAN_AND, expecting ')' in
> /home/users/uks08258/html/stephena.co.uk/j4m/calc.php on line 35
>
> I am as i am sure ou are aware very new to PHP i have always used
> ASP
> but i need to get this done for a client as they have a unix server.

Which one is line 35?

This works:

<!-- ---SOF---------------------- -->

<html>
<body>
<form action="test.php" method="post" enctype="multipart/form-data"
target="_self">
<select name="my_combobox">
<option value="1">one
<option value="2">two
</select>
<input type="submit" value="go">
</form>


<?php
// phpftp_file: /glbasic/test.php
// phprun_file: http://www.GLBasic.com/test.php
if (isset($_POST['my_combobox']) )
{
echo('Selected: '.$_POST['my_combobox']);
}
else
echo('Nothing selected');


?>


</body>
</html>


<!-- -----EOF------------------ -->

 

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

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