The Helper Forums
The Helper offers free technical support for computer games,
computer hardware, and other computer software. Staffed
by volunteer tech support workers, The Helper is highly
regarded as a premium destination for those who are
experiencing technical problems with their computers.
Affiliate Sites
Warcraft 3 World Editor Tutorials - The Greatest Resource for the new Warcraft 3 Mapper
Silkroad Online Forums
Houston Microsoft Access, VBA and Visual Basic Programming
The source for NUON news, information, and games.
Griffonrawl Muay Thai and MMA
Warcraft 3 Modding Site.
Element Tower Defense by Karawasa.
Topaz Games.

Able Auto Glass specializes in Houston Auto Glass Replacement as well as windshield repair and replacement services.
Apex Steel Pipe - Buys and sells Used Steel Pipe.

Go Back   The Helper Forums > Technical Support Zone > Webmaster General Help

Reply
 
Thread Tools Display Modes
  #1  
Old November 1st, 2009, 02:37 PM
DrEvil's Avatar
DrEvil DrEvil is offline
Well... You know... Stuff...
 
Join Date: Sep 2008
Location: UK
Posts: 519
DrEvil is starting to get some respect (+100)DrEvil is starting to get some respect (+100)
Amount of entered records ?

Well... I have a table ( within the database )
And I want to check how many records have been entered:

Name | Text

XXX | Hello
YYY | Wussap
ZZZ | Lolz

Is there any way to find out that 3 have been set ?
Reply With Quote
  #2  
Old November 1st, 2009, 03:09 PM
UndeadDragon's Avatar
UndeadDragon UndeadDragon is offline
Lorem Ipsum Dolor Sit.
 
Join Date: Aug 2007
Location: England (GMT +0)
Posts: 3,918
UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)
Do you need it in PHP/SQL?
Reply With Quote
  #3  
Old November 1st, 2009, 09:33 PM
TriggerHappy TriggerHappy is offline
Using Windows 7™
 
Join Date: Apr 2008
Posts: 2,989
TriggerHappy is climbing the respect ladder even higher (+600)TriggerHappy is climbing the respect ladder even higher (+600)TriggerHappy is climbing the respect ladder even higher (+600)TriggerHappy is climbing the respect ladder even higher (+600)TriggerHappy is climbing the respect ladder even higher (+600)TriggerHappy is climbing the respect ladder even higher (+600)
mysql_num_rows?
Reply With Quote
  #4  
Old November 2nd, 2009, 12:18 AM
Samuraid's Avatar
Samuraid Samuraid is offline
Administrator
 
Join Date: Mar 2008
Posts: 166
Samuraid is starting to get some respect (+100)Samuraid is starting to get some respect (+100)
SELECT COUNT(*) AS NumberOfRows FROM <table>;
Reply With Quote
  #5  
Old November 3rd, 2009, 10:23 AM
DrEvil's Avatar
DrEvil DrEvil is offline
Well... You know... Stuff...
 
Join Date: Sep 2008
Location: UK
Posts: 519
DrEvil is starting to get some respect (+100)DrEvil is starting to get some respect (+100)
Yes
SELECT COUNT(*) AS NumberOfRows FROM <table>;
did the job thanks

Sorry for late reply , been away
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.