mysql help?
#1

I have house system with mysql and when i use houseedit change ec the level on id 0 then is change on id 1 instead, mabye you guys can help me, thanks in advance
Reply
#2

How you believe we can help you when you don't provide us with a code to fix?
Reply
#3

Quote:
Originally Posted by vassilis
Посмотреть сообщение
How you believe we can help you when you don't provide us with a code to fix?
sloved!
Reply
#4

This house loading is wrong.
It says that i create a new variable named row;
and say that if row < rows then do that..
Example to understand the mistake.
i create a variable named test.. and then i say that if test is smaller than number 3 then do something..
Does it make sense? I guess not.
To sum up, you have to set row a number. I suggest to do that
PHP код:
for(new row =0row rowsrow++) 
Reply
#5

Quote:
Originally Posted by vassilis
Посмотреть сообщение
This house loading is wrong.
It says that i create a new variable named row;
and say that if row < rows then do that..
Example to understand the mistake.
i create a variable named test.. and then i say that if test is smaller than number 3 then do something..
Does it make sense? I guess not.
To sum up, you have to set row a number. I suggest to do that
PHP код:
for(new row =0row rowsrow++) 
Like this

PHP код:
for(new row =10row rowsrow++) 
Reply
#6

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Like this

PHP код:
for(new row =10row rowsrow++) 
Not a random number but but the first house id you create for example if your first house id starts from number 1 then loop from number 1 if it starts from house id 0 then loop from number 0
Reply
#7

Quote:
Originally Posted by vassilis
Посмотреть сообщение
Not a random number but but the first house id you create for example if your first house id starts from number 1 then loop from number 1 if it starts from house id 0 then loop from number 0
i using this, but still same problem.

PHP код:
for(new row =0row rowsrow++) 
Reply
#8

Nvm fixed now!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)