No, for that use a if statement
if($fname == "Select") {
$errormessage = $error;
include( "other.html" );
exit;
} else {
//code
}
A switch works like this
switch($var) {
case 1:
//if $var==1
$thisvar = $something;
break;
case 2:
//if $var==2
$thisvar = $something2;
break;
}
~M
Hey everyone,
Anyone have any tips on books, sites, news groups... anything where I
can get some *good* information on using PHP to process secure
transactions (the real ones, with an RSA Certificate).
Thanks in advance,
~Mike
--
-==-
Mike Joseph
Unix Geek / Code Monkey
"Gripped by fear m
Not exactly sure what you mean.. do you want a php script to make a
secure connection with some external website?
Perhaps... we are just in the planning stages right now.
I have books upon books on writing code for secure transactions
(processing credit card numbers, mostly) in Java and C++, but
3 matches
Mail list logo