View Single Post
  #4  
Old 26th June 2013, 15:57
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by Ruffneck View Post
TS 7.2 class_ts_database.php is used mysql ext !

i wanna make mysqli ext !

because php 5.5.0 is not supported mysql ext !

sorry 4 bad english !

Look at this....

Taken from
http://www.w3schools.com/php/php_mysql_select.asp

PHP Code:
<?php
$con
=mysqli_connect("example.com","peter","abc123","my_db");
    
// Check connection
    
if (mysqli_connect_errno())
  {
  echo 
"Failed to connect to MySQL: " mysqli_connect_error();
  }

$result mysqli_query($con,"SELECT * FROM Persons");

echo 
"<table border='1'>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>"
;

while(
$row mysqli_fetch_array($result))
  {
  echo 
"<tr>";
  echo 
"<td>" $row['FirstName'] . "</td>";
  echo 
"<td>" $row['LastName'] . "</td>";
  echo 
"</tr>";
  }
echo 
"</table>";

mysqli_close($con);
?>
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote