I am using the following code to get an updated version of
my main data table but I am concerned that the processor will
run out of memory.
Since the result will be help in an array i.e. in memory is this
any concern ?
This is the code:
Expand|Select|Wrap|Line Numbers
- $sql = "SELECT cb_last.*, cb_prev.* FROM cb_last LEFT JOIN cb_prev ON cb_last.id=cb_prev.id WHERE cb_last.day_no = '$dayno' ORDER BY cb_last.id";
- $result = mysql_query($sql)
- or die("could not JOIN cb_last AND cb_prev". mysql_error());