PHP MySQL Urgent Help Required Querying Database

Closed - This job posting has been filled and work has been completed.
Web & Mobile Development Web Development Posted 2 years ago

Fixed Price

Delivery by January 9, 2013

$5.00

Budget

Details

I need someone to help me with a simple issue.

This is my code...

<?php
include_once"connection.php";
$sql = "SELECT * FROM affiliate WHERE username = 'test' ";
$query = mysqli_query($con, $sql);
if(mysqli_num_rows($query) > 0)

while ($row = mysqli_fetch_array($query)) {

$will = $row['williamhill'];

if ($williamhill === 'on') { $WILL = "hello"; } else { $WILL = "bye"; }

mysql_close($con);
?>


It is on this website - http://e-mediastudios.com/afftest/

I am trying to connect but have problems.

I will send connection.php file to person who can help.

Attached is index.php.


About the Client

(4.95) 58 reviews

United Kingdom
London 04:46 AM

142 Jobs Posted
58% Hire Rate, 1 Open Job

$5,010 Total Spent
94 Hires, 0 Active

$2.13/hr Avg Hourly Rate Paid
712 Hours

Member Since Oct 10, 2011