Jump to content

bradbice

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bradbice's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am using an example from the "PHP and MySQL Web Development" book by Welling and Thompson, and it utlizes the mysqli connection. Anyways, here's my line of code and the error it produces: [code] function db_connect() { $handle = new mysqli('localhost', 'user, 'pass', 'db');    if (!$handle)    {      return false;    }    return $handle; } [/code] and the error: Fatal error: Cannot instantiate non-existent class: mysqli in d:\inetpub\technitrolinc\cms\db_fns.php on line 11 I am using php 4.4.1 on a shared host. Is there any way, if the above can't work with that version, that I can get this to work without using mysqli?
  2. I need to set up a database of products (or at least the means for entering products into a database), which would have multiple categories as well as multiple fields for each item, such as name, catalog number, a picture, etc. Does anyone know of a simple script that I can use for this? I just want something that is bare bones, so i can style it and modify it if I need to. I will pay up to $30 for the right package if I can find it. I would attempt to write one, but I am limited on time.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.