Jump to content

regarding changes with dbase functions...


Go to solution Solved by 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.

Edited by Pr0t0n

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.

Edited by AbraCadaver
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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