Jump to content

regarding changes with dbase functions...


Pr0t0n

Recommended Posts

Hi guys,

 

I am having a problem with my old scripts I am trying to run, I have $newdb = new db; and it isnt enough.

Then this code comes up with "false":

$db->mysql_connect($sql) or die('Kon geen verbinding krijgen met de dbase.');

I got one other problem, I am trying to write an extended error reporter and I want a page with tabs and then one tab for each dbase I want to read the errors from.

Does anyone got any tips on how to accomplish this?

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/281323-regarding-changes-with-dbase-functions/
Share on other sites

Ok lets try it again then this below doesnt work now while it did before:

$db 		= new db;

$db->mysql_connect($sql) or die('Kon geen verbinding krijgen met de dbase.');

Then this is the config file which holds $sql:

<?php

$sql['host'] = 'nextgen.co.nf';
$sql['user'] = 'user';
$sql['pass'] = 'password';
$sql['dbase'] = '1458015_error';


?>

Hope this is better.

 

 

PS: I only changed username and password the variables they hold are correct.

  On 8/19/2013 at 8:31 PM, Pr0t0n said:

I think PHP is using this package: http://pear.php.net/package/DB/redirected

 

It doesn't look like it, and I've never seen anything like it.  Maybe search the files that are included and see if they have comments telling what class it is.

 

Most likely someone just wrote a class wrapper for mysql functions.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.