Xtry
asked on
include in die
hello there,
is there anyway i can have in
die ("you need to have 5 points");
and include something like
include ("help.html"); ???
thanks for any help!
is there anyway i can have in
die ("you need to have 5 points");
and include something like
include ("help.html"); ???
thanks for any help!
if you are excecting an SQL query with die, you can use something like this:
$result = mysql_query("your_sql_quer y_here");
if(!$result) {
include "help.html";
}
$result = mysql_query("your_sql_quer
if(!$result) {
include "help.html";
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ok if the msg should not be displayed remove that echo from the function
ASKER