Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,574 members, 7,955,115 topics. Date: Saturday, 21 September 2024 at 05:24 PM |
Nairaland Forum / A7's Profile / A7's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 27 pages)
Programming / Re: Getting User Data Script...please Help Me Out by A7(m): 5:07pm On Feb 03, 2016 |
Create two input fields with name='username' and name='firstname' and a submit button, use "get request". Code to use: If(isset($_GET['submit'], $_GET['username'], $_GET['firstname']) &&!empty($_GET['username']) &&!empty($_GET['firstname'])){ $print_out['username'] = $_GET['username']; $print_out['firstname'] = $_GET['firstname']; //this will return both username and firstname: echo "<pre>", print_r($print_out),"</pre>"; //to echo just username or firstname, use: echo $print_out['username']; Or echo $print_out['firstname']; } Nb: You don't need arrays, you can individually echo each "get value" like: echo $_GET['username']; Or echo $_GET['firstname']; And what do you mean by query select? Is it mysql select query? If so use: $sql = (put your select statement here); $query = (execute the query here); $row = mysqli_fetch_assoc($query); echo $row['the value you want to echo out e.g username']; |
Politics / Re: Another Proof That GEJ Purchased Arms For The Nigerian Military (pics) by A7(m): 3:32pm On Feb 03, 2016 |
theshadyexpress: This thread is created by vedaxcool : www.nairaland.com/1929785/new-tanks-fighting-bh-being It's about rusty tanks being transported to be refurbished/painted which the govt will later claim are new tanks purchased to fight BH. Seeing is believing, vedaxcool have every right to question why the photo you posted can only be seen on twitter. Back to OP: Of course jonathan bought weapons, no one is denying that, the issue is on weither the weapons are enough to rout boko haram and weither the sum allocated for sourcing those weapons is properly utilized. If you think Apc lied about accusing jonathan of looting and rewarding sychopants and idly sitting like an ineffectual buffoon while the defence chiefs and other politicians siphon our common wealth perhaps you might substantiate why soldiers on the frontline are deserting their duties and engaging in mutiny, and why some of them dress like women to escape the battlefield, or why the NSA is guilty of being ATM of jonathan. 3 Likes 1 Share |
Programming / Re: Pls Help Me With This Php Code by A7(m): 9:49pm On Jan 22, 2016 |
lillylove2: In that case replace array_sum with array_product. |
Programming / Re: Pls Help Me With This Php Code by A7(m): 9:35pm On Jan 22, 2016 |
lillylove2: This is how to make array_sum work. Set a variable holding an empty array: $loop_results = array(); Query your db: $sql = ("SELECT `amount` FROM `table` WHERE `user`='".dami24."'" ) ; $query = mysqli_query($con, $sql); If(mysqli_num_rows($query) > 0{ while($rows = mysqli_fetch_assoc($query){ $loop_results[] = $rows['amount']; } } If(empty($loop_results) == false){ $amount_sum = array_sum($loop_results); echo $amount_sum; } |
Webmasters / Re: Please I Need A Help In My Code by A7(m): 7:49pm On Jan 19, 2016 |
If your variable is holding a string, while updating values of your db table[column] use '".$variable."' and if the variable is an integer use ".$variable." And always try to catch exceptions, for instance after querying the db before relocating members back to another page use: If($query){ //redirect }else{//log the error somewhere} |
Politics / Re: Dasuki And Olisah Metuh's Appearance In Court - The Difference by A7(m): 7:26pm On Jan 19, 2016 |
But raymond dokpesi was confined at Kuje prison for a while and has made court appearances couple of times without ever being cuffed. I think it will be interesting if the OP will be objective enough to tell us why she/he didn't use raymond dokpesi as an example. 16 Likes |
Politics / Re: Kano Court Sentences Man To Death For Blasphemy by A7(m): 12:13pm On Jan 06, 2016 |
wadetaw202: Would there be free state if there is no country? I think if indeed those laws are so barbaric the constitution wouldn't have accomodated them to the extent of establishing courts and judges catered for from the proceeds of tax payers money. The fact that they are still functioning and passing judgements, capital offence/punishment inclusive shows your mental backwardness and outward barbarity reeking of arrogance and ignorance. |
Politics / Re: Kano Court Sentences Man To Death For Blasphemy by A7(m): 12:01pm On Jan 06, 2016 |
johnydon22: By extension opinion of his wife/wives, children, students[if there's any], an inclination he hopefully strive to see metamorphosize. This "ridiculous mindset" you called opinion coupled with other vile vituperations happen to be the root cause of the insurgency that snatched lives, properties and peace of many unfortunate countrymen. How certain are you and how could you convince any right thinking person that breeding docile idle minded individuals will not lead to hoodlum spring? And so? Last i checked we all have our rights to worship what ever we want or not to worship at all. He opted to view another person[inyass] as God and also considered himself a God, that is not a concern to Muslims, he might as well worship a cow or tree WE muslims will just assume there are afflictions ravaging his being. But the moment he claims he is still a Muslim and that's Islam he's practicing, Muslims have every right to step in, ascertain and give a verdict viz a viz the gravity of his action/inaction. One thing with useless beliefs is that it blinds one to simple objectivity and lets their emotions drive their deduction over premises that have to do with their belief..[/quote] Well, an objective person if asked to commend or condemn the Muslims in Kano regarding this incident will undoubtedly praise their action unequivocably, if indeed what you allege about emotional outburst is true, the man in question and anyone he have a cordial relation with will be dead by now, consumed by jungle justice. This country is not a joke, I agree there are tons of nut jobs e.g abdul inyass who use to profess he's a deity of some sort and could fulfill every humanoid dream including dashing every form/kind of knowledge at will to people after ridiculing seekers of education, who consciously try to steal people's peace swapping it with tension, hardship, grief and death. Even more nitwittedly bound are the pathetic primitive lunatics aiding and abetting his evil facade masking it with tales about "opinions and freedom of speech". This duo of inconsistent and senseless bunch represents everything against amiable peaceful coexistence and common good... One of those days I wish they are fed to the guillotine. |
Politics / Re: Kano Court Sentences Man To Death For Blasphemy by A7(m): 1:14am On Jan 06, 2016 |
talktimi: His action glaringly aims for civil unrest, destruction, death and chaos, how could we tame people who scheme to see a society go up in flames? What he did could cost whole lot of lives you know. 2 Likes |
Politics / Re: Kano Court Sentences Man To Death For Blasphemy by A7(m): 12:59am On Jan 06, 2016 |
talktimi: He ran to Abuja after instigating crises in Kano. One of the things he said before running was "do not waste time seeking any form of education, it's futile, just love inyass and inyass will make you abundant in knowledge ". Inyass is the man he worship, his name "Abdul Inyass" means servant of Inyass. He also believe He is God and everyone that subscribe to their coined doctrine will be God or is God. He also went on cursing every revered Islamic figure on a loud speaker. You call this freedom of speech? It's rabble-rousing and worst kind of incitement, his motive clearly is to provoke people to violence. People like this chap deserve every kind of comeuppances they will get. 1 Like |
Politics / Re: Buhari With Christine Lagarde At Aso Rock Villa + Details Of What Was Discussed by A7(m): 6:02pm On Jan 05, 2016 |
This woman is tall oo. Chai |
Politics / Re: Join The Army, She Will Be The Most Beautiful Female Soldier by A7(m): 5:46pm On Jan 04, 2016 |
TonyeBarcanista: This explain the Solomon in your name. |
Politics / Re: Boko Haram Defeated? December Deadline by A7(m): 2:00pm On Dec 31, 2015 |
Channels Tv: Your excellency the three months target you gave to the military to annihilate, to flush out boko haram is running out, in a situation where they don't meet the target would there be an extension? PMB: The main objective is to get rid of boko haram whether it's within the time limit we give to the military or outside it we will mantain focus on our objective, and we will support them, normally I'm an optimistic person, those that have already given up I'm sorry for them, but I remain confident that our military and other law enforcement agencies are more than equal to boko haram. |
Webmasters / Re: Post your PHP Problems Here by A7(m): 5:03pm On Dec 23, 2015 |
gozmos: Google "php-mysql crud system", read every page. It boggles me that you are able to have a webserver and can navigate your way to the cpanel but have no idea about mysql basics like the crud system. |
Politics / Re: 500000 Teachers A Great Blessing Especially To Private School Teachers by A7(m): 2:13pm On Dec 22, 2015 |
Achuwa1: But according to you all northerners subscribe to the "western education is sin" ideology. |
Politics / Re: Popular Wuse Market On Fire In Abuja - Pictured by A7(m): 12:30pm On Dec 21, 2015 |
Naijacitizen: Yeah, the far right end just after the road leading to the market abattoir. It's a lone uncompleted building and I think the fire will not transcend to other close buildings. 1 Like |
Politics / Re: Popular Wuse Market On Fire In Abuja - Pictured by A7(m): 9:39pm On Dec 20, 2015 |
There isn't any bank inside the market. And there wasn't any structure as tall as the above[on fire] inside the market. |
Politics / Re: Unedited: Dr Ahmad Gumi’s Historic Letter To Sheikh El-zakzaky, A Must Read by A7(m): 6:12pm On Dec 17, 2015 |
vedaxcool: I think he's dead. |
Politics / Re: Just-In:Video Claims Attack On Shiite Hussainiyyah Before Road Block, Unprovoked by A7(m): 12:47am On Dec 17, 2015 |
crosbreaka: Oh dear! 10pm + 11hours cannot be 2am bro. |
Politics / Re: Just-In:Video Claims Attack On Shiite Hussainiyyah Before Road Block, Unprovoked by A7(m): 12:07am On Dec 17, 2015 |
Rafidi: Zakzaky is shot in the chest and whisked out by the army, fact! I can't tell if he's still alive because both photos of him after the raid showed he's unconscious. Nevertheless, the above video is a fabrication, because soldiers storm hussainiyyah after the procession incident, another fact. Zakzaky's statement from the phone call he made shows he is not hiding somewhere else but inside his house and he confesses there's no way he will make it out because soldiers have sorrounded the house already. Another fact pal. About daytime issue, Zakzaky says soldiers arrived his house by 10pm the previous day and they are still laying siege after 11 hours. 10pm + 11hours is 9am. Is 9am not broad enough for you? 1 Like 1 Share |
Politics / Re: Just-In:Video Claims Attack On Shiite Hussainiyyah Before Road Block, Unprovoked by A7(m): 11:34pm On Dec 16, 2015 |
Although the siege started in the night, it lasted till next day and that's when Zakzaky was shot and arrested, ever pause to ponder why Zakzaky told the iranian who contacted him that soldiers are at his house shooting for the last 11 hours? 1 Like |
Politics / Re: Umar-Jibia's Letter To President-Elect Buhari About The Shiites by A7(m): 3:27pm On Dec 16, 2015 |
Here's another letter from Dr Ahmad Abubakar Gumi to shi'a leader Ibrahim Elzakzaky. https://m.facebook.com/AhmadAbubakarMahmudGumi/posts/668440649943094 1 Like |
Politics / Re: 2015 Elections: How Nigerian Musicians, Artistes Sent PDP Packing – Buhari by A7(m): 9:58pm On Dec 13, 2015 |
KMJY: The word "Igbo" or "Inyamiri" is never mentioned in the song "masu gudu su gudu". Infact the song is all about the corrupt political elite that squandered our common wealth, no more sacred cows, and every "goat" will meet his/her comeuppance soon. Funny enough you're so dumb to confirm that the song is released post-GMB victory, thus hastily peddling the above lies as your ilk always do. |
Politics / Re: Buhari Stamping Out Zakzaky's Shiites Like Maitatsine by A7(m): 5:34pm On Dec 13, 2015 |
abe4kom: I asked this question first, the onus to answer is yours pal. abe4kom: I didn't mention any military report, am a northerner and have witnessed a couple of related incidences of the shi'as disturbing social activities during these processions, I just stated the obvious and at the same time unravelling the baloney in your unguarded claim that "Shi'as are terrorists and the govt is clamping down on them". abe4kom: There you go, they're not innocent afterall, yet you went on starting a thread carelessly accusing the military of trampling peoples right. What a pity!. |
Politics / Re: Buhari Stamping Out Zakzaky's Shiites Like Maitatsine by A7(m): 3:48pm On Dec 13, 2015 |
abe4kom: When any of the political parties are out to rally same thing happens, the traditional/occultic confraternities do same thing, church crusades and even market women do rally/block the streets from time to time. How many times does the COAS got stucked at such processions? Do you think confronting and denying passage to the COAS convoy is a thoughtful decision? |
Politics / Re: Buhari Stamping Out Zakzaky's Shiites Like Maitatsine by A7(m): 3:09pm On Dec 13, 2015 |
The shi'a's offence is constituting nuisance in the name of procession, they cause commotion and prevent free passage of vehicles and people in those gatherings. Their clash with the soldiers is due to civil disobedience not terrorism. |
Politics / Re: Buratai With Emir Of Zazzau After The Attempted Assassination - Pics by A7(m): 10:39pm On Dec 12, 2015 |
Mogidi: You're one frustrated/confused clown you know. 135 Likes 6 Shares |
Politics / Re: Rector Of Maritime Academy Who Was Facing N18bn Fraud Allegation Found Dead by A7(m): 8:13pm On Dec 09, 2015 |
Oh our nyams, one down. The rest sick goats[diezani, dasuki etc] better not die oh, Efcc need to start assigning paramedics to each goat under probe, the task of recovering our nyams must not be toyed with.
|
Religion / Re: To All Nairalanders That Supported Trump On His View About Islam by A7(m): 5:49pm On Dec 08, 2015 |
chimerase2: Next will be colored races, even if you're related to the pope as long as you are not white they will deport, confiscate your papers and bar your black bum from anything west any moment. You read about the recent deportation of black people by the UK right? In the Us they don't deport, they use them as guinea pigs to master shooting aim and skills. 1 Like |
Islam for Muslims / Re: Is This The Most Beautiful Mosque In Nigeria? by A7(m): 9:39pm On Nov 29, 2015 |
Well structured beautiful mosque, Allah ya taimaka. Below photo is Yobe central mosque, Damaturu. 2 Likes 1 Share
|
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 27 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 70 |