/mycars - MYSQL HELP
#7

pawn Код:
if(mysql_num_rows() == 1)
It's because you're only processing one car.

It there are more rows returned, your code doesn't do anything, as it skips both if-statements.

You should loop through all rows returned, fetch the data from each row and display it.
Reply


Messages In This Thread
/mycars - MYSQL HELP - by Stefand - 30.01.2014, 18:22
Re: /mycars - MYSQL HELP - by Shockey HD - 30.01.2014, 18:59
Re: /mycars - MYSQL HELP - by Stefand - 30.01.2014, 19:52
Re: /mycars - MYSQL HELP - by Stefand - 30.01.2014, 20:46
Re: /mycars - MYSQL HELP - by Shockey HD - 30.01.2014, 20:52
Re: /mycars - MYSQL HELP - by Stefand - 30.01.2014, 21:13
Re: /mycars - MYSQL HELP - by PowerPC603 - 30.01.2014, 21:16
Re: /mycars - MYSQL HELP - by Stefand - 30.01.2014, 21:29
Re: /mycars - MYSQL HELP - by PowerPC603 - 30.01.2014, 21:32
Re: /mycars - MYSQL HELP - by Stefand - 31.01.2014, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)