a question if you dont mind answering it..
- Fresh Water Fighters
- Legendary River Dog
- Posts: 838
- Joined: Sat Mar 20, 2004 1:07 pm
- Location: Thialand (But I come form New Zealand)
okies i found a better script but it does have a few bugs, maybe a few of you who are better at php , and the mysql here. can help me adjust some files that need to be fixed i think. This is one of them that gives me an error , if you dont mind helping me fix them .
<?
// requete_sql
function requete_sql($sql) {
//configuration de la connection
require('configuration/connection.php');
if (! $res=mysql_query($sql,$connect)) {
echo mysql_error();
echo "<br><a href=\"javascript:history.go(-1)\">BACK</a>";
}
return $res;
}
// requete_sql
?>
<?
// requete_sql
function requete_sql($sql) {
//configuration de la connection
require('configuration/connection.php');
if (! $res=mysql_query($sql,$connect)) {
echo mysql_error();
echo "<br><a href=\"javascript:history.go(-1)\">BACK</a>";
}
return $res;
}
// requete_sql
?>
I keep getting this error with the new script i am working with , maybe i might be able to get some help :
Warning: main(./variable.php): failed to open stream: No such file or directory in /home/draline/public_html/configuration/fichiers_requis.php on line 5
Fatal error: main(): Failed opening required './variable.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/draline/public_html/configuration/fichiers_requis.php on line 5
Warning: main(./variable.php): failed to open stream: No such file or directory in /home/draline/public_html/configuration/fichiers_requis.php on line 5
Fatal error: main(): Failed opening required './variable.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/draline/public_html/configuration/fichiers_requis.php on line 5
-
Members connected in real time