array must be indexed
PHP Code:
if(cpu_number == num) { |
Re: array must be indexed
1. You are trying to pass only the last array element in your string to the function. ChoosedNumber(id, num[3]);
2. You are trying to compare if a number is == a string, which will not work. if(cpu_number == num) PHP Code:
|
Re: array must be indexed
.nnnnn1 : /try 3
Your number = 0. cpu number = 1. These numbers do not match. .nnnnn1 : /try 4 .nnnnn1 : /try 1 Your number = 0. cpu number = 43. These numbers do not match. .nnnnn1 : /try 5 .nnnnn1 : /try 2 Your number = 0. cpu number = 92. These numbers do not match. .nnnnn1 : /try 3 .nnnnn1 : /try 6 Your number = 0. cpu number = 40. These numbers do any number i type, he shows that my number is 0 ... |
Re: array must be indexed
Not sure that will work, but try:
PHP Code:
|
Re: array must be indexed
Sorry, I didn't check to see if you were reading the arguments properly. Tested and working
PHP Code:
|
Re: array must be indexed
thanks a lot +k
|
| All times are GMT -4. The time now is 02:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.