Jump to content
Stef's Coding Community

afaaro

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About afaaro

  • Rank
    New member
  1. Hello everyone about 4 days am experiencing this problem if you can help me out this is the code; it's not updating at all it's just redirecting me to the page $db = new mysqli($dbHost, $dbUser, $dbPass, $dbName) or die (mysql_error()); function editcat($cid,$name,$desc,$ok=false) { global $db; $cid = intval($cid); if (!$ok) { $result = $db->query("SELECT * FROM category WHERE cid='$cid'"); $row = $result->fetch_object(); $cid = $row->cid; $name = $row->name; $desc = $row->desc; echo "<table width='100%' align='center' cellspacing='0' cellpadding='
×
×
  • Create New...