Changeset 735 for trunk/include
- Timestamp:
- Feb 13, 2005, 11:21:11 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r725 r735 610 610 // my_error returns (or send to standard output) the message concerning the 611 611 // error occured for the last mysql query. 612 function my_error($header , $echo = true)612 function my_error($header) 613 613 { 614 614 $error = '<pre>'; … … 617 617 $error.= mysql_error(); 618 618 $error.= '</pre>'; 619 if ($echo) 620 { 621 echo $error; 622 } 623 else 624 { 625 return $error; 626 } 619 die ($error); 627 620 } 628 621 ?>
Note: See TracChangeset
for help on using the changeset viewer.