Thread: Announce.php
View Single Post
  #1  
Old 10th November 2008, 21:12
Mredin Mredin is offline
Member
 
Join Date: Nov 2008
Posts: 4
Default Announce.php
Hi everybody.

This announce.php file is VERY complicated for me.. Hope somebody will help me :)

I will like to know where I have to write my mysql informations.?!

My guess is:

PHP Code:
function dbconn($autoclean false)
{
   global 
$mysql_host$mysql_user$mysql_pass$mysql_db;
    if (!@
mysql_connect($mysql_host$mysql_user$mysql_pass))
    {
          switch (
mysql_errno()) 
Then i think it should look like this:

Code:
global localhost, Username, 123456, dbtest;
Is this right?? or is it something else??

Hope somebody would help me :)
Reply With Quote