> -----Original Message-----
> From: Paul Kraus [mailto:[EMAIL PROTECTED]
> Sent: 04 April 2003 15:42
> 
 
> Also why can I not place these variables in line with the echo
> statement. If I do it doesn't work.
> I thought I could just echo "face=$_POST['type_sel'] " <- but it does
> not work.

Please read the manual at
http://www.php.net/manual/en/language.types.string.php#language.types.string
.parsing for *why* this doesn't work, but short answer is:


  if ( $_POST['type_sel'] ) echo "face={$_POST['type_sel']}";
  if ( $_POST['size_sel'] ) echo "size={$_POST['size_sel']}";

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to