You've enclosed $count1 inside single quotes. So instead of getting the value of the array element $count1, you're attempting to get the value of the index string '$count1', which will always equate to 0 (besides I think you meant $count, not $count1).$webpages_for_files[$count] = $db->query("SELECT webpage FROM webpages +_data WHERE id = $webpages['$count1']'")->list;
In reply to Re: Script won't retrieve data from database
by ruzam
in thread Script won't retrieve data from database
by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |