Does the code itself actually run? Do you get any message from your echos? Do you have error checking turned on and get any php messages? Put some messages in the if statements where they are 'false' (the non-existent else clauses) so you can see what may be happening.
Help us to help you. Don't just say it's not working.
02-11-2014, 12:25 PM
No I didn't get any message from echos just returns a blank page. I will put some message in the if statement now. Thanks
02-11-2014, 03:00 PM
I find that a page that returns nothing at all usually has an error in it. Turning on error checking shows me the message.
02-13-2014, 09:32 AM
please check on this line:
02-13-2014, 12:05 PM
aubenefit - one can use multiple parms in the isset function.
If the OP would simply turn on error checking - OR use an IDE that recognizes PHP syntax, etc. - he would find his problem is an error in his php. There is no mysqli_fetch_array function and that would show up in either his editor or in his execution.