Bravo List
Go Back   > Bravo List > Source Code > Trackers > TBDev
Old 09-07-18, 07:36
BamBam0077's Avatar
BamBam0077 BamBam0077 is offline
Join Date: Jul 2013
Posts: 293
Default Is this right?
$con = mysqli_connect("localhost", "root", ""); 
// if statement with connection failed 
 if (!$con) { 
  die("Could not connect: " . mysql_error()); 
 return $con;

$sql = 'SELECT * FROM config';
$result = sql_query($dbcon, $sql);
while($row = mysqli_fetch_assoc($result)){

$tbdev["sitename"] = $row["sitename"];
Reply With Quote
Old 09-07-18, 11:53
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
Join Date: Jan 2008
United States
Posts: 2,063
no $dbcon needs to be $con
$result = sql_query($dbcon, $sql);
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
BamBam0077 (10-07-18)

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2019, vBulletin Solutions Inc.