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.
Chernobyl Lost Riddles

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, 01:37 PM
DrEvil's Avatar
DrEvil DrEvil is offline
You may call me 'Danny the Lone Wolf'
 
Join Date: Sep 2008
Location: UK
Posts: 574
DrEvil seems to have the helping tendency (+150)DrEvil seems to have the helping tendency (+150)
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, 02:09 PM
UndeadDragon's Avatar
UndeadDragon UndeadDragon is offline
Lorem Ipsum Dolor Sit.
 
Join Date: Aug 2007
Location: England (GMT +0)
Posts: 3,818
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)UndeadDragon has a reputation beyond repute (+1000)
Do you need it in PHP/SQL?
__________________
/ .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. \
//I am a web designer. Clicky Clicky.\\
/ .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. \
Reply With Quote
  #3  
Old November 1st, 2009, 08:33 PM
TriggerHappy TriggerHappy is offline
...
 
Join Date: Apr 2008
Posts: 3,165
TriggerHappy is doing a good job (+300)TriggerHappy is doing a good job (+300)TriggerHappy is doing a good job (+300)TriggerHappy is doing a good job (+300)
mysql_num_rows?
Reply With Quote
  #4  
Old November 1st, 2009, 11:18 PM
Samuraid's Avatar
Samuraid Samuraid is offline
Advisor
 
Join Date: Mar 2008
Posts: 331
Samuraid is being taken more seriously (+250)Samuraid is being taken more seriously (+250)Samuraid is being taken more seriously (+250)
SELECT COUNT(*) AS NumberOfRows FROM <table>;
Reply With Quote
  #5  
Old November 3rd, 2009, 09:23 AM
DrEvil's Avatar
DrEvil DrEvil is offline
You may call me 'Danny the Lone Wolf'
 
Join Date: Sep 2008
Location: UK
Posts: 574
DrEvil seems to have the helping tendency (+150)DrEvil seems to have the helping tendency (+150)
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 11:14 PM.


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