Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
WalleniuM

php / mysql problem

Recommended Posts

hi ihrs

hab nen kleines Problem. komm grad nicht drauf. habe eine tabelle. hier das shema:

tabelle 1

|--------|------------|----------|---------|

zelle 1 zelle 2 zelle 3 zelle 4 zelle 5

in den zellen steht entweder 1 oder 0. ich will jetzt für zelle 1 bis 3 die anzahl der 1er zählen. ist also in unserem beispiel zelle 1=1, zelle 2 =0 und zelle3=1 dann soll 2 ausgegeben werden. geht ja mit row count... aber beim rest hängts irgendwo.. da komm ich grad nicht drauf

vieleln dank schonmal

wallenium

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×