Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Having trouble with News script

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

wackyjoe

Established Member
Impact
3
THANK YOU FOR THE HELP


SOLVED
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try debugging. Add this at the end:

if (mysql_affected_rows > 0) {
echo "IT WORKED!";
}
else
{
echo "IT DIDN'T WORK!";
}

If "IT WORKS" appeared, it means it's pulling something from the database. If "IT DIDN'T WORK" appeared, that means you have a syntax error in your SQL, you're searching from an empty table, etc.
 
0
•••
yea...its coming up as IT DIDNT WORK
 
0
•••
Yeah, then you need to check your SQL query as it seems nothing is being returned in the query.
 
0
•••
I tried taking it out piece by piece but it still seems fine

No Worries Solved!
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back