|
|
Sergey Kornilov admin 7/19/2005 |
|
Hi, $rs=db_query($strSQL,$conn); $data=db_fetch_array($rs);
$_SESSION["total"] = $data["total"];
|
|
|
|
adamdidthis author 7/19/2005 |
|
will this work if the total field is a calculated field? |
|
|
|
Sergey Kornilov admin 7/20/2005 |
|
Yes, this will work if total is calculated field. |
|
|
|
adamdidthis author 7/21/2005 |
|
ok i have done as you have said but it comes up with the following error: |
|
|
|
Sergey Kornilov admin 7/21/2005 |
|
Hi, $_SESSION["total"] = $data["mytotal"]; |
|
|
|
adamdidthis author 7/25/2005 |
|
Ok have made that change but am now getting the following error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Limit >= 103367.500 ORDER BY `username`' at line 1 |
|
|
|
Sergey Kornilov admin 7/25/2005 |
|
Hi, |
|
|
|
adamdidthis author 7/25/2005 |
|
email sent |
|
|
|
Sergey Kornilov admin 7/25/2005 |
|
Adam, "Limit >= " . $_SESSION["total"]
"`limit` >= " . $_SESSION["total"] |
|
|
|
adamdidthis author 7/25/2005 |
|
email sent |
|