hey people
wondered if you could help me
right ive got a sql query that searches a database, now i want to do is do an advanced search so the user can refine it
ive got the ammount per page of results
this is done by adding and removing from the limit 0 , 10 at the end of the sql code
ive done this bit now what i need to do is make a way so if they specify a limit of 40 results get the query to stop when it hits the 40th result if it exists, if you get me
any ideas?
ive thought about a while but im not sure how it would be done if they didnt specify a limit (ie show all the results)
any suggestions weclome
thanks
adam
wondered if you could help me
right ive got a sql query that searches a database, now i want to do is do an advanced search so the user can refine it
ive got the ammount per page of results
this is done by adding and removing from the limit 0 , 10 at the end of the sql code
ive done this bit now what i need to do is make a way so if they specify a limit of 40 results get the query to stop when it hits the 40th result if it exists, if you get me
any ideas?
ive thought about a while but im not sure how it would be done if they didnt specify a limit (ie show all the results)
any suggestions weclome
thanks
adam








