Jump to content

config.php


ball420

Recommended Posts

i'm using a config.php file but it seems not to connect

here is my script

 

<?php include 'db1config.php'?>

<?php include 'connect.php'?>

 

 

 

  <?php

 

 

function filter($string)

{

  $pattern[0] = fck;

  $pattern[1] = ss;

  $pattern[2] = sit;

  $replacement[0] = beep;

  $replacement[1] = beep;

  $replacement[2] = beep;

  return preg_replace($pattern, $replacement, $string);

}

 

 

 

$sql="SELECT * FROM $tbl_name";

$result=mysql_query($sql);

 

while($rows=mysql_fetch_array($result)){

 

?>

 

Link to comment
https://forums.phpfreaks.com/topic/56240-configphp/
Share on other sites

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.