Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 1st, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Update MYSQL and SET particular row Content
  2. id = "1"  
  3. menu = "menu1 ,menu2 ,menu3, menu4"
  4.        
  5. $show_data = mysql_query("SELECT menu FROM t1");
  6. $showrow  = mysql_fetch_assoc($show_data);
  7. $showmenu =  $showrow['menu'];
  8. $pieces = explode(",", $showmenu);