Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
for the webpage
http://www.assists.org.uk/penpal_simple1_searchs.html
I get results on the subsequent page
the sql I am using is shown below
[syntax="sql"]select * from PENPAL where YEAROFBIRTH >'$y2' and YEAROFBIRTH<'$y1'or DAYOFBIRTH<='$d1' and '$m1' =MONTHOFBIRTH and '$y1'=YEAROFBIRTH or MONTHOFBIRTH <'$m1' and '$y1'=YEAROFBIRTH or DAYOFBIRTH>='$d2' and '$m2' =MONTHOFBIRTH and '$y2'=YEAROFBIRTH or MONTHOFBIRTH >'$m2' and '$y2'=YEAROFBIRTH LIMIT 0,10
Will that have an effect?
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]