What does 'or' mean?
Posted: Thu Jun 05, 2003 8:01 am
In the code
What does the 'or' mean ?
and sometimes i can find 'as' like
what does this mean?I search in the manual but can not find it.Where can I find the usage of these ones.
Code: Select all
<?php
mysql_query("select * from sth") or die("error");
?>and sometimes i can find 'as' like
Code: Select all
<?php
foreach ($lines as $line_num => $line) {
echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n";
}
?>