Need help with PHP/MySQL code
Posted: Thu Feb 19, 2009 10:08 am
Folks.
I'm quite proud of the fact for the past 6 months I've gone away and used all of the knowledge gleaned from you all to create a pretty good website. You'll find the old version at http://www.didymus.org.uk
I'm now working on a more graphical version. The PHP coding is going well and you'll find a working (but not fully working version at http://www.didymus.org.uk/new/tree/disp ... ?urn=11164
So. On to my question. And I'm really hoping someone can answer it as it will save me literally hours of manual scanning.
I need to build some PHP code that will access my MySQL database and return any instances of the following:
Thanks very much in advance for your help.
KD.
I'm quite proud of the fact for the past 6 months I've gone away and used all of the knowledge gleaned from you all to create a pretty good website. You'll find the old version at http://www.didymus.org.uk
I'm now working on a more graphical version. The PHP coding is going well and you'll find a working (but not fully working version at http://www.didymus.org.uk/new/tree/disp ... ?urn=11164
So. On to my question. And I'm really hoping someone can answer it as it will save me literally hours of manual scanning.
I need to build some PHP code that will access my MySQL database and return any instances of the following:
andWhere $spouse1urn is blank AND $spouse1child1urn is not blank
Anybody got any ideas? Other than go and buy yet another PHP primer of course!Where $spouse2urn is blank AND $spouse2child1urn is not blank
Thanks very much in advance for your help.
KD.