Grant

South Africa

Nov
3
answered PHP SQL injection prevention
Nov
2
comment z-index not working in Chrome, works in FF, IE etc
Mmmm I see what you mean, if I comment out the position: relative it actually works, but I lose the position top left of the div in both FF and Chrome, so the image is not anchored top left of the .item div.
Nov
2
comment z-index not working in Chrome, works in FF, IE etc
Yes, but the image must not overflow the containing div that opens on click. So it is required and works perfectly in FF and IE.
Nov
2
comment z-index not working in Chrome, works in FF, IE etc
Whatever I do the overlayImage0 is always contained within the <div class="item"> div tag in Chrome.
Nov
2
comment z-index not working in Chrome, works in FF, IE etc
I tried that, the important ones are the overlayImage0 being at the top of the stack, and the hoverImage0 being below it, the rest can all be on one layer as the z-index is set to for those all on the same layer
Nov
2
comment z-index not working in Chrome, works in FF, IE etc
Tried that now but made no difference
Nov
2
asked z-index not working in Chrome, works in FF, IE etc
Oct
17
accepted How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
Adding the missing $ did the trick. Thanks for your solution, MUCH easier, simpler than my foreach longhand!
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
So in the first iteration / loop the $activeSeasonId changes from null to the first $row->seasonID and prints out a closing </ul> | How do I fix that?
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
if($activeSeasonId != $row->seasonID) { if(activeSeasonId != null) { echo "</ul>\n\n"; } echo "<ul>\n"; $activeSeasonId = $row->seasonID; }
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
OK it works great, one problem: I have a hanging </ul> at the start.
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
I see what you are saying nice and simple, will try it out now.
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
Sorry, you are correct ignore my comment.
Oct
17
comment How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
I cannot do a join as this is all from one table
Oct
17
revised How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
added 261 characters in body
Oct
17
awarded Custodian
Oct
17
revised How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
added 2431 characters in body
Oct
17
revised How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
added 2431 characters in body
Oct
17
reviewed Approve suggested edit on How can I do this in one MySQL Select query, I want to lose the foreach loop and the second select query?
1 2 3 4 5