mivec
04-12-2004, 01:11 PM
hi all,
can sopmeone explain to me what this phrase of sql means?
$sql = "SELECT newsID, title, left(contents, 250) as contents, date FROM tblNews ORDER BY date DESC";
$rs = mysql_query($sql);
$nRows = mysql_num_rows($rs);
what does the left(contents, 250) mean?pls help.thank you.
can sopmeone explain to me what this phrase of sql means?
$sql = "SELECT newsID, title, left(contents, 250) as contents, date FROM tblNews ORDER BY date DESC";
$rs = mysql_query($sql);
$nRows = mysql_num_rows($rs);
what does the left(contents, 250) mean?pls help.thank you.