Hello, I have a problem with a website that need to be resolved quickly. The website have been online for 3 years and 2 week ago a problem happen. We changed nothing so we don't understand what happen. Don't know if my host "[login to view URL]" caused the problem when he updated the MYSQL version of servers.
Here is the website : [[login to view URL]][1]
When I login to this page:
<[login to view URL]>
I can see the header and the footer of the website but in the middle I see this:
**Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mariomal/public_html/[login to view URL] on line 261**
Below is a part of [login to view URL] with the line 261 in bold:
$result = mysql_db_query('mariomal_autoboss', $query, $link);
$n = 1;
** while($data = mysql_fetch_array($result)) {**
if(!($n % 2)) { $bg = "class='fill_light'"; } else { $bg = ''; }
echo "
<tr $bg>
<td class='text'>$data[stock]</td>
<td class='text' align='center'>$data[year]</td>
<td class='text'>$data[make]</td>
<td class='text'>$data[model]</td>
<td class='text' align='center'>$data[condition]</td>
<!--<td class='text' align='center'>$data[mileage]</td>-->
<td class='text' align='center'>$data[price]</td>
<td class='text' align='center'>$data[viewed]</td>
<td class='text' align='center'><a class='link' href='[login to view URL]$data[ccode]'>Options</a></td>
## Deliverables
The modified php files.
## Platform
php, mysql, cpanel, linux