- 0
PHP script stopping my page loading correctly on server
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
WordPress-Theme Twenty Twenty Four-customizing: how to do that - a Gutenberg special question...
By thedhubs,
- 1 answer
- 1,167 views
-
- 3 answers
- 4,608 views
-
QNAP issues patch for an RCE security vulnerability affecting PHP in NAS Drive management
By Alap Naik Desai,
- remote code execution
- rce
- (and 12 more)
- 0 replies
- 18 views
-
Get this Dynamic 2022 Data & IT Security Training Bundle at 97% off
By News Staff,
- neowin deals
- cyber security
- (and 4 more)
- 0 replies
- 12 views
-
Save 98% off this 27 Course Premium Learn to Code Certification Bundle
By News Staff,
- neowin deals
- coding
- (and 10 more)
- 0 replies
- 15 views
-
Question
latbabs
I have this PHP code below worked fine locally but after I uplaod my site it sucks
pls help check and revert
<?php
require ("connect.php");
$sql = "SELECT distinct events FROM events ORDER BY events" or die(mysql_error());
$result= mysql_query($sql)or die(mysql_error());
$count=mysql_num_rows($result);
// If result matched, table row must be greater than 1 row
$sn=1;
echo "<table border=0 cellpadding=10 align='left'>";
echo "<tr><td align='center'></td><td></td></tr>";
while($row=mysql_fetch_array($result)){
$events= $row['events'];
echo "<tr valign='top'><a href='events_process.php?events=".$events."'>$events</a></tr
echo "<hr>";
$sn++;
}
echo "</table>";
?>
Link to comment
https://www.neowin.net/forum/topic/1335266-php-script-stopping-my-page-loading-correctly-on-server/Share on other sites
0 answers to this question
Recommended Posts