Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

search box on admin/manufacturers.php


Guest

Recommended Posts

got this to work perfectly:

  if (isset($_POST['search_it'])){
$manufacturers_query_raw = "select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from " . TABLE_MANUFACTURERS . " where manufacturers_name LIKE '%".$_POST['search_it']."%'";
echo $_POST['search_it'];
}else{
$manufacturers_query_raw = "select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from " . TABLE_MANUFACTURERS . " order by manufacturers_name";
}

 

 

however. once i click "edit"... everything is blank.

mID in the address bar has the manufacturer id.

 

anyone know why there's no data being pulled? i am completely stumped!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...