Nicolas247's Posts
Nairaland Forum › Nicolas247's Profile › Nicolas247's Posts
1 2 3 4 5 6 7 8 9 10 (of 10 pages)
Please I am still new to php so i need maximum help on this. I have more than one table in my database with the same column. I need to sum a column total_ded from all the tables by id. currently the code is working but how to call it and sum by id from php script is my challenge. Please any help is appreciated. here is my code $exe = mysql_query('SELECT (SELECT total_ded FROM february where Id=$id) + (SELECT total_ded FROM march where Id=$id) + (SELECT total_ded FROM april where Id=$id) AS total'); //echo "<tr>"; echo "<div align='center' width='200'>" . mysql_result($exe, 0) . "</div>"; |
Guide life jealously because it has no duplicate jonatoye: |
disumusa:Do you remember what happened to the early twins in Nigeria which was norm, culture and possibly value then. Some one has to rise up and stop some things. Just saying |
juitar:image for the tread open........I ask your thought on the design i stumbled upon. |
Donald3d:image added |
As a graphic designer when you come across a design like this what comes to your mind
|
I found this on facebook and thought of sharing it for parents and parent to be 1: Warn your Girl Child Never to sit on anyone's laps no matter the situation including uncles. 2: Avoid Getting Dressed in front of your child once he/she is 2 years old. Learn to excuse them or yourself. 3. Never allow any adult refer to your child as 'my wife' or 'my husband' 4. Whenever your child goes out to play with friends make sure you look for a way to find out what kind of play they do, because young people now sexually abuse themselves. 5. Never force your child to visit any adult he or she is not comfortable with and also be observant if your child becomes too fond of a particular adult. 6. Once a very lively child suddenly becomes withdrawn you may need to patiently ask lots of questions from your child. 7. Carefully educate your grown ups about the right values of sex . If you don't, the society will teach them the wrong values. 8: It is always advisable you go through any new Material like cartoons you just bought for them before they start seeing it themselves. 9. Ensure you activate parental controls on your cable networks and advice your friends especially those your child(ren) visit(s) often. 10. Teach your 3 year olds how to wash their private parts properly and warn them never to allow anyone touch those areas and that includes you (remember, charity begins from home and with you). 11: Blacklist some materials/associates you think could threaten the sanity of your child (this includes music, movies and even friends and families). 12. Let your child(ren) understand the value of standing out of the crowd. 13: Once your child complains about a particular person, don't keep quiet about it. Take up the case and show them you can defend them. Remember, we are either parents or parents-to-be. and remember "THE PAIN LASTS A LIFETIME" Have a Nice day and Great Week Ahead And possible forward to all friends who have children. |
Yomieluv:Addition January means #200 February means #500 they coded slang used by ikorodu council tax force or council area boys |
Jesus said not only when you sleep with another person wife or husband is a sin but when you look at another woman lustfully (which means if you have the opportunity to do it, you will do it) then it is sin. so masturbation is a sin Matthew 5:27-28 NIV |
mysteries |
Truth be told.... Either he his their or not, who will die will die... God help Nigeria |
We bless God |
Dell Inspiron 5323, 500gb, 6gb hdd ram core i3 Condition perfect Battery life: More than 3 hours Price: N60000 HP Elite book (6930) for sale 4gb ram 160gb hdd, core2 duo Good battery Condition: perfect Battery life: Up to 2 half hour Price: N35,000 (Price reduced) Please if you are interested, call 08167359739 Must go before noon...
|
Thank you all for your earnest response but I have done all I could even Google all but still can't figure it.... Pls I will appreciate a code that can display this function.. |
public function GetSum($total_ded){ $db=new Database(); $conn=$db->Connect_DB(); if($conn){ $query = "SELECT SUM(total_ded) FROM february"; $result=mysqli_query($conn, $query); if($result){ $sum=mysqli_fetch_array($result); return $sum[0]; }else{ return false; } }else{ return false; } } my question is how do i display this code in a table and connect it to database I am trying to sum up a column.... Pls any help is appreciated thank in advance |
Get this amazing IMPORTED FROM GERMANY NEW BLOOD PRESSURE CHECKER ANALOG AND DIGITAL BLOOD PRESSURE CHECKER all are new from germany know your BP, know when it is normal and when it is pushing for the limit if you are interested please feel free to contact me on this line ANALOG: N20000 DIGITAL: 10000 08167359739 Adeniyi |
codeaddict:I have sent mail to you sir...thank you in advance |
Still waiting for the help Thank you in advance |
Good afternoon all, please I seriously need to integrate gtpay into a html website please I need a useful guide into this or if you know any tutorial, please let me know or show me how. I have the api and all the documents ready God bless you in advance |
Specification is there 160gb 1gb Duo core |
Hp desktop computers for sale Core i5 , duo core Hdd are different sizes ranging from 160gb 350gb If interested please call 08167359739
|
Futjisu laptop from Canada for sale 160gb Duo core Led screen Price: 25k If interested pls call 08167359739
|
Bro pls put up ur mobile or whatsapp no so I can talk to you now |
Very fast response.....kudos to this guyz. Keep up the good work |
Discount On All Purchase Perkins Basic & Sound Proof Generator Engine, Transformer Step down and step up, Ups Get the best offer for this period for Churches Hotels Halls Schools Homes Generator 10kva................N1,492,340 20kva................N1,125,500 30kva................N2,624,100 40kva................N2,887,500 50kva................N2,943,600 65kva................N3,441,800 80kva................N3,773,180 100kva..............N4,221,380 Transformer: 100kva ..............N800,000 500kva...............N2,000,000 If you are interested please call Adeniyi: 08167359739
|
Discount On All Purchase Perkins Basic & Sound Proof Generator Engine, Transformer Step down and step up, Ups Get the best offer for this period for Churches Hotels Halls Schools Homes Generator 10kva................N1,492,340 20kva................N1,125,500 30kva................N2,624,100 40kva................N2,887,500 50kva................N2,943,600 65kva................N3,441,800 80kva................N3,773,180 100kva..............N4,221,380 Transformer: 100kva ..............N800,000 500kva...............N2,000,000 If you are interested please call Adeniyi: 08167359739
|
if you think it is that easy you might need to go to the war front yourself luvmijeje: If the whole community were indeed supporting the insurgents, then why would boko-haram ransacked the whole place? |
I have a very neat leyland truck for sale New tires New batteries condition: used and working perfect selling because no good and trust worthy driver to maintain it asking price 3.5m if you are interested pls call me on 08167359739
|