Hello you friendly folk! :-)
I have a MySQL database and a php file that pulls the data out (member list) via an array and displays the info, then gets the next lot etc.
I have set it up to display like so:
Member1
member1 Phone
Member 2
Member 2 Phone
etc.
My problem, is that the first SQL query I use i have set to pull out the featured members (WHERE featured LIKE '1') and then once that has display i do another query with the same stuff, but (WHERE featured LIKE '0') to list the non featured members afterwoods. This is fine and displays as follows.
Fmember1
Fmember1 phone
Fmember 2
Fmember 2 phone
standard member 1
standard member 1 phone etc etc
What I want is some sort of division between the featured and standard members, but whatever I do (from <br> to inserting a graphic) is inserted before any of the member list is parsed.
So i get
******Top of page*******
(division)
Members lists
Members list
instead of
**Top of page**
Members list
(Division)
Mmebers list
Help? I'm stuck and have no idea how to fix this. Does anyone have a better idea of how to call the DB info, i dont think it's much to do with that though.......
Thanks in advance.