Try to create aka system with mysql
#2

"Loop through all the rows that are found" 'LIMIT 1'.. You have a loop for 0 or 1 rows.

I'd recommend switching your statements. The conditional should be in the SQL: select * from `aka` where ip='%s' OR `username` = '%s'

You will have to fill the fields though. After this, you can just loop through all rows
Reply


Messages In This Thread
Try to create aka system with mysql - by AroseKhanNiazi - 26.06.2015, 10:47
Re: Try to create aka system with mysql - by mamorunl - 26.06.2015, 11:24
Re: Try to create aka system with mysql - by X337 - 26.06.2015, 11:33
Re: Try to create aka system with mysql - by AroseKhanNiazi - 26.06.2015, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)