Hi all,
If i have the following:
how can i get the $category_id into an array?
Cheers,
camcim
If i have the following:
Code:
$sql = "SELECT * FROM company_categories WHERE company_id='$id'";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result)){
$comp_cat_id = $row["comp_cat_id"];
$company_id = $row["company_id"];
$category_id = $row["category_id"];
echo "$category_id";
Cheers,
camcim