Hi!
When i run the following code, mysql_error() = No Database Selected and
mysql_errno() is 1046.
After nearly going insane, I realised through trial and error that if i
commented out the call to getimagesize() and fed the DB class with some data
of my own, it all worked perfectly.
I also
I thought it would be a good idea to use parse_ini_file instead of doing
require_once(config.ini). However, what do I do about arrays that i had in
my config file, cos parse_ini_file() does not like them. eg:
[foods]
favFoods = array('this','that','other',)
I notice my php.ini file is arranged
Yeah, maybe i need to reorganise my code a little. Thanks.
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 18:20
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] configuration files
Malcolm JC Clark wrote:
I thought it would
I am looking for a good reliable php script/ class to process enquiries.
Maybe there is a de facto php script/ class like Matts perl Script Archive?
Kind Rgds
Malcolm
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_______ ___
/ __) /__\ ( \/\/ )( _ \ / __)
\__ \ /(__)\ )( )(_) )\__ \
(___/(__)(__)(__/\__)(/ (___/
Strategically Applied Web Development Systems
Contact: Malcolm JC Clark
Tel:0161 408 2883
Mobile: 07779 034 868
This e-mail may contain confidential and/or privileged
I have a class which extends to include a mysql class.
Within the class's functions i have multiple calls (without creating an
object like '$instance = new MysqlDb()' ) to the mysql class like this:
function doThis(){
$this-query();
$this-selectquery();
do something else here