MySQL storing result as a variable
#5

Quote:
Originally Posted by irinel1996
Посмотреть сообщение
Try this:
EDIT:
@Sinner: I think you have a little mistake here:
What if there are many fields with more reasons? I mean many fields with different IPs and reasons. How do you know which one is the correct field?
Yeah it was just an example
"SELECT data FROM field WHERE condition" would be the correct query ofcourse
Reply


Messages In This Thread
MySQL storing result as a variable - by DBan - 04.07.2012, 10:34
Re: MySQL storing result as a variable - by Sinner - 04.07.2012, 10:49
Respuesta: MySQL storing result as a variable - by [DOG]irinel1996 - 04.07.2012, 10:54
Re: MySQL storing result as a variable - by DBan - 04.07.2012, 10:59
Re: Respuesta: MySQL storing result as a variable - by Sinner - 04.07.2012, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)