A7's Posts
Nairaland Forum › A7's Profile › A7's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 (of 27 pages)
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']; |
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. |
lillylove2:In that case replace array_sum with array_product. |
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; } |
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} |
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. |
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. |
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. |
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. |
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. |
This woman is tall oo. Chai |
TonyeBarcanista:This explain the Solomon in your name. ![]() |
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. |
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. |
Achuwa1:But according to you all northerners subscribe to the "western education is sin" ideology. |
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. |
There isn't any bank inside the market. And there wasn't any structure as tall as the above[on fire] inside the market. |
vedaxcool:I think he's dead. |
crosbreaka:Oh dear! 10pm + 11hours cannot be 2am bro. |
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? |
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? |
Here's another letter from Dr Ahmad Abubakar Gumi to shi'a leader Ibrahim Elzakzaky. https://m.facebook.com/AhmadAbubakarMahmudGumi/posts/668440649943094 |
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. |
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!. |
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? |
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. |
Mogidi:You're one frustrated/confused clown you know. |
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.
|
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. |
Well structured beautiful mosque, Allah ya taimaka. Below photo is Yobe central mosque, Damaturu.
|


