error of MobTop Script
Started on the old forum in July 2010 · view the original in the archive · old links redirect here
your missing the array number or name
eg: $string[0] or $string["name"] Depending on how it is set up in script 😛
I havent got the script so i cant tell you where 😛
When Calling Arrays you are calling a list of items eg:
id, name, price
$result = mysql_fetch_array(mysql_query("SELECT id, name, priceFROM 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 helps