how do i do when i want to do:
if $variable doesnt exist?
what is the notation, i have seen ! used but i cant make it work.
here is the part of the code:
if (!$offset) {
$offset = 0;
$h_limit = $offset+$limit;
$result = mysql_query("SELECT * FROM $table LIMIT $offset,$h_limit");
} else { { $result = mysql_query("SELECT * FROM $table LIMIT $l_offset,$limit"); } }
the variabel in this case is "$offset"