Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Other Programming › Web Languages › MySQL Need help fast

QuestionMySQL Need help fast

Posts 1–5 of 5 · Page 1 of 1
NI
NightFallTV
MySQL Need help fast
im getting an error on mysql when im trying to login as admin

Code:
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/xxxxx/public_html/xxxx/login.php on line 17
this is where the error starts:

Code:
		$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
		$result=mysql_query($sql);
		$count=mysql_num_rows($result);  <------------- ERROR
		if($count >= 1){
		session_register("myusername");
		session_register("mypassword");
		header("location: index.php");
		} else {
			
		}
	}
#1 · 10y ago
NO
NotMindroixen
Hope u will find help
#2 · 10y ago
Turtle
Turtle
x.x I would help but its 8 am and my brain feels fried
#3 · 10y ago
TheTrueKing
TheTrueKing
Try to check for typos maybe ^^
#4 · 10y ago
NI
NightFallTV
Quote Originally Posted by TheTrueKing View Post
Try to check for typos maybe ^^
there are none.

EDIT: this is the error i'm getting
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''admins' WHERE username='test' and password='test'' at line 1

- - - Updated - - -

It's solved
#5 · edited 10y ago · 10y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • I need Help Fast! :(By soldierkiller in Combat Arms Help
    13Last post 15y ago
  • NEED HELP FAST PLZBy loko151 in Alliance of Valiant Arms (AVA) Help
    9Last post 14y ago
  • Need help fastBy OmarQortam in CrossFire Help
    9Last post 13y ago
  • <<<<<<<<< DELPHI 7 - NEED HELP FAST !! >>>>>>>>>By logobalogo in CrossFire Help
    3Last post 13y ago
  • awesomenium deleted need help fastBy wGRWGHWGRERGrgergergrg in Alliance of Valiant Arms (AVA) Help
    4Last post 13y ago

Tags for this Thread

None