[PHP-DB] pagination

2004-12-05 Thread Valerie
It shows next and the first 10 records but will not bring up the next 10 when next is pressed. 1){ echo "Previous"; } if($numrows > ($start + 10)){ echo "Next"; } $query='SELECT * ' . ' FROM `Wellington` ' . ' WHERE`location`="Hills" ORDER BY `LotNo` ASC L

[PHP-DB] Pagination

2004-12-05 Thread Valerie
It shows next and the first 10 records but will not bring up the next 10 when next is pressed. $result2 = mysql_query($query2); $row2 = mysql_fetch_array($result2); $numrows = $row2['count']; if($start > 1){ echo "Previous"; } if($numrows > ($start + 10)){ echo "Next"; } $query='SELECT

Re: [PHP-DB] Mail & Header Redirect

2004-10-05 Thread Valerie
Yes, I put an echo statement inside the function itself and it returns fine. The problem appears to be with the header location. Thanks again, Valerie - Original Message - From: "Bastien Koert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]&g

Re: [PHP-DB] Mail & Header Redirect

2004-10-05 Thread Valerie
When I echo $sent, it returns 1. Thanks, Valerie - Original Message - From: "Bastien Koert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 05, 2004 10:03 AM Subject: RE: [PHP-DB] Mail & Header Redirect if you echo

[PHP-DB] Mail & Header Redirect

2004-10-05 Thread Valerie
I have an email that is sent upon submission of a form. I need to redirect to a confirmation page if email is sent successfully. I thought the problem was that my email headers are already being sent, but when I removed them it still did not work. I need to bcc as well. headers: http://www.