bradbice
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by bradbice
-
-
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.
mysqli with PHP4.4?
in PHP Coding Help
Posted
[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?