I have this php code (below), My form passes 2 values w/c is TemplateOne and
TemplateTwo I was wondering how could I make that in php to catch the value
as one only? I tried this and it didn't work. But if the value is just one
the case display it. Any ideas?

<?php
  $v_template = $_REQUEST['TemplateOne'] ;
  $v_template = $_REQUEST['TemplateTwo'] ;

switch($v_template) {
 case 'TemplateOne':
 echo "one";
 break;

 case 'TemplateTwo':
 echo "two";
 break;
}
?>

--
Thank you,
Miranda, Louie

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

Reply via email to