I have installed a MobTop Toplist script, i hv fixed most errors but i am lustly unable to fix a problem that is, when sum adding site or editing site then at the keywords section entering any word it is being replaced by Arrey. Can any1 tell me how can i fix it ?
error of MobTop Script
Collapse
X
-
I havent got the script so i cant tell you where :P
When Calling Arrays you are calling a list of items eg:
id, name, price
$result = mysql_fetch_array(mysql_query("SELECT id, name, price FROM example"));
so id is the first item you are calling ..... however in an array the first item is always 0 and you then count up from 0
$result[0] is id
$result[1] is name
$result[2] is price
or alternatively you can use
$result['id'] is id
$result['name'] is name
$result['price'] is price
at the moment you are calling $result which will just show the words array
$result is array (in this case but $result can be pretty much called any word)
hope this helpsLast edited by something else; 06.07.10, 09:09.
Comment
Comment