TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 11:51pm On Jul 28, 2019 |
My momma always said, Life was like a box of chocolates. You never know what you're gonna get ~ Forrest Gump |
Celebrities › Re: Lizzy Anjorin Accuses Ex Boyfriend Of Sending Killers After Her (Photos) by Csami(m): 9:21pm On Jul 27, 2019 |
Who else noticed her bad written English is almost the same with the text
Local man is confused |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 8:14pm On Jul 27, 2019 |
I'm just a girl, standing in front of a boy, asking him to love her ~ Anna Scott |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 7:46pm On Jul 26, 2019 |
Question for a higher power. Who is more wicked, he who kills evil motherfuckers or he who protects them ~ Darius Kincaid |
Politics › Re: I Don’t Believe That Leah Sharibu Is Dead - Shehu Sani by Csami(m): 3:37pm On Jul 26, 2019 |
Even those two ontop are having their own reaction.
Everyone is reacting and the country is getting more fvcked! |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 11:40pm On Jul 25, 2019 |
My dearest Sixsmith, I shot myself through the roof of my mouth this morning with Vivian Ayrs' Luger. A true suicide is a paced, disciplined certainty. People pontificate suicide is a coward's act couldn't be further from the truth. Suicide takes tremendous courage. Don't let them say I killed myself for love. Had my infatuations, but we both know in our hearts who is the sole love of my short, bright life ~ Robert Frobisher |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 10:52pm On Jul 24, 2019 |
It's not about equal division of labor. It's about an equitable and efficient allocation of resources ~ Zoe |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 6:34pm On Jul 23, 2019 |
The man who pulls the lever that breaks your neck, will be a dispassionate man. And that dispassion, is the very essence of justice. For justice delivered without dispassion is always in danger of not being justice ~ Oswaldo Mobray |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 8:45pm On Jul 22, 2019 |
They say, Evil prevails when good men fail to act. What they oughta say is, Evil prevails ~ Yuri Orlov |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 7:12pm On Jul 21, 2019*. Modified: 1:41am On Jul 24, 2019 |
All the gods, all the heavens, all the hells, are within you ~ Rone |
Politics › Re: A “technically” Incompetent Chief Justice Of Nigeria by Csami(m): 8:03am On Jul 21, 2019 |
A CJN that doesn't know that planes are flown not driven |
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by Csami(m): 7:35am On Jul 21, 2019 |
Hallenjay: pls, I s der any way u can guilde me to make a simple app using code block and c language... I know they r many alternative but I've codeblock installed and I'm currently learning c (from basic thou). Someone should put me through. Sorry! I just know basic php |
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by Csami(m): 7:52pm On Jul 20, 2019 |
Person no fit use una get hope sha |
Programming › Re: After Learning Programming What Next?? by Csami(m): 3:01pm On Jul 20, 2019 |
Build a lot of sh*t! Build blogs, e-commerce etc. Design stuff |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 10:47pm On Jul 19, 2019 |
You're nothing but a relic from a deleted timeline ~ John Connor |
Politics › Re: DMO Releases List Of Indebted States And How Much They Owe by Csami(m): 1:35pm On Jul 19, 2019 |
Can someone explain how this debt thing works? |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 10:56pm On Jul 18, 2019 |
If you work for a living, why do you kill yourself working ~ Tuco |
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by Csami(m): 9:39pm On Jul 18, 2019 |
i need help with this code I have a form which i collect the input using a post method [i<form method="post" autocomplete="on" enctype="multipart/form-data"> <div class="form-group"> <label for="name" class="mr-sm-2" id="tag"></label> <select class="form-control" id="categoryname" name="category"> <option value="">---SELECT CATEGORY---</option> <?php $sql = "SELECT * FROM category"; $res = mysqli_query($connection, $sql); while ($r = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $r['id']; ?>"><?php echo $r['categoryname']; ?></option> <?php } ?> </select> <label for="name" class="mr-sm-2" id="tag"></label> <input type="text" class="form-control" id="title" placeholder="Title" name="title" required> <label for="content" class="mr-sm-2" id="tag"></label> <textarea class="form-control" rows="10" id="content" placeholder="content" name="content" required></textarea> <label for="pic" class="mr-sm-2" id="tag">Profile Picture</label> <input type="file" class="form-control" name="pic" id="pic" placeholder="Picture"> <br> <button class="btn btn-info" type="submit">post</button> </div> </form>][/i] Here is the php if (isset($_POST) & !empty($_POST)) { $category = $_POST['category']; $title = mysqli_real_escape_string($connection,$_POST['title']); $content = mysqli_real_escape_string($connection,$_POST['content']);
$image = $_FILES['pic']['name'];
$target = "uploads/".basename($image);
move_uploaded_file($_FILES['pic']['tmp_name'], $target);
$sql = "INSERT INTO posts (userid, categoryid, post_title, post_content, post_image) VALUES ('$userid', '$category', '$title', '$content', '$image')"; $result = mysqli_query($connection, $sql);
if ($result) { header("location: viewpost.php " ; }else{ $fmsg = "Failed to post"; } }The problem is that the page i'm directing to throws me this errors because i don't know how to capture the id Notice: Undefined index: id in C:\xampp\htdocs\project\viewpost.php on line 14 Notice: Trying to get property of non-object in C:\xampp\htdocs\project\viewpost.php on line 69<?php $postsql = "SELECT * FROM posts WHERE id = $id"; $postquery = mysqli_query($connection, $postsql); if ($postquery->num_rows > 0) { while($row = $postquery->fetch_assoc()) { $post_title = $row['post_title']; $userid = $row['userid']; $post_date = $row['post_date']; $post_image = $row['post_image']; $post_content = $row['post_content']; ?>The bold is causing the error cause i don't how to capture the id using GET method in a POST form |
Politics › Re: Senator Abaribe Questions CJN Tanko Muhammad by Csami(m): 3:17pm On Jul 18, 2019*. Modified: 3:47pm On Jul 18, 2019 |
Damn! We ain't seen nothing yet! Before buhari is through with this next level sh*t, Yemen will be looking like a nice place to relocate to.
We have a clueless president, an unfit CJN and puppets as both Senate president and Speaker. Meaning the 3 arms of government is a disaster. |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 11:36pm On Jul 17, 2019*. Modified: 1:40am On Jul 24, 2019 |
Lessons not learned in blood are soon forgotten ~ Clyde Shelton |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 9:37pm On Jul 16, 2019 |
Sometimes the truth isn't good enough. Sometimes people deserve more. Sometimes people deserve to have their faith rewarded ~ Batman |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 8:24pm On Jul 15, 2019 |
May the Valkyries welcome you and lead you through Odin's great battle field. May they sing your name with love and fury, so that we might hear it rise from the depths of Valhalla. And know that you've taken your rightful place at the table of Kings. For a great man has fallen, A warrior. A chieftain. A father. A friend ~ Gobber |
TV/Movies › Re: My Favorite Daily Movie Quote by Csami(op): 7:31pm On Jul 14, 2019 |
It's a double pleasure to deceive the deceiver ~ David Percival |
TV/Movies › My Favorite Daily Movie Quote by Csami(op): 8:49pm On Jul 13, 2019*. Modified: 12:14am On Jul 30, 2019 |
What if you had to tell someone the most important thing in the world, but you knew they'd never believe you ~ Doug |
Politics › Re: Why Do Igbos Hate Buhari? - Mustapha Gembu, Hausa Activist by Csami(m): 3:59pm On Jul 13, 2019 |
madridguy: Igbos don't hate buhari. Forget PDP online miscreants.
God bless Said Baba Fvck you! We hate Buhari! |
Education › Re: Ranked: The 25 Smartest Countries In The World by Csami(m): 3:37pm On Jul 13, 2019 |
gbosaa: By ‘smarter’ you mean reading another man’s literature and reproducing same in an exam hall with the ultimate aim of a bogus prefix before your name?
We celebrate certificates, invest our resources in foreign schools while our own educational system suffer. We graduate with first class grades but still can’t solve our internal problems. Lots of doctors but we still travel abroad for treatment , lots of electrical engineers and technicians but we can’t fix our power issues? Lots of mechanical and civil engineers but we still depend on the Chinese to fix our pot holes, lots of ecological experts but we still haven’t found solutions to our ecological and environmental problems.
It’s not by answering Alhaji Prof Dr or Pastor Engr, Architect, high chief etc. I know someone that went for NNPC interview and he said they are still using quota system. If you don't give the best and brightest leadership or position they merited, this country shall remain the same or worse. |
Car Talk › Re: Volkswagen Reopens Assembling Plant In Nigeria, After 20 Years by Csami(m): 3:12pm On Jul 12, 2019 |
rentAcock: I think its time we do away with dual citizenship. If you are a citizen of a foreign country either by birth or naturalisation you should be forced to denounce your Nigerian citizenship as it is technically unfathomable to have the best interests of two countries at heart.
Nigeria is slowly but surely progressing and one day, it will undergo the same scale of economic growth and prosperity that China has enjoyed over the last 30 years. All those who ran away and abandoned Nigeria for greener pastures abroad, will be the same ones begging to return for better opportunities.
God bless the Federal Republic of Nigeria. Come on keep quiet! Yen yen yen Nigeria will progress |
Romance › Re: My Fiancée I Wanted To Jailed Last Month Attempted Committing Suicide by Csami(m): 7:44pm On Jul 07, 2019 |
Dude, The babe don show her true sef. If i were you, i go to coldstone and lick ice-cream then go for thanksgiving. After she played you, she had the audacity to attempt suicide!? |
Celebrities › Re: Steph-Nora Okere Doubts Busola Dakolo Rape Allegation Against Pastor Biodun by Csami(m): 2:57pm On Jul 01, 2019 |
Imho, i think Timi walked in on his wife romancing pastor and then she changed it for the pastor and cried rape. Love affair gone bad! Me think sha |
Christianity Etc › Re: Photos From The COZA Rape Protest In Abuja On Sunday by Csami(m): 10:05am On Jul 01, 2019 |
Antoeni: I DONT KNOW THE #COZA HEAD PASTOR IN PERSON BUT THIS IS WHAT I HAVE TO SAY.
A Pastor who has a close relationship with you, who could invite you anywhere to meet him up and you will willingly meet him up because of the Father and daughter relationship both of you have created over time, suddenly wakes up early in the morning by 7AM as brilliant and smart as he looks, summoned courage left his family (Wife and Child) to visit your family house that early hour, not minding if anyone would be at home, you opened the door, he pushed you, pulled off his trousers and raped you, you didn't scream, no! You tried to scream but he covered your mouth in the parlor of your family house, overpowered you in your parents house, when he was done raping you he didn't rush out, he still went to the car and got a drink and gave to you comfortably not minding if anyone might come in to see the blood stains, And finally with the way she described her compound I wondered who opened the gate that early hours of the day.... Don't also forget that her sister was at home. Dumb storyline, from a dumb Author..... I don't support rape, but your story should be truthful enough to convince smart people.
Before I forget, with the way she described her family house, I believe her family is well to do to an extent an average family, and at 18 and as smart and outspoken as you said earlier on, why didn't you tell it to your parents immediately so they can take up the case immediately, why wait till now?
There are things you tell smart people and they would believe not this crab. Something might have transpired between you both which I don't know but not this story.
I've been seeing a lot of post from people concluding on this matter, think before you write
My advice to every young lady or young man out there, if you ever become a victim of rape which I pray you won't become speak out immediately..
I say no to Rape, but this story got few lapses me view tho Few lapses!? Bro this story get errors more than programming languages. What about the second one that took placr on the bonnet of his car? Like he took her to a big, isolated forest then ordered her down to position herself on the bonnet then raped her? Cool story. Do you know the statistics of rape to occur to a woman the second time by the same man? I mean if he raped you the first time, what are you doing with him the second time alone? That pastor is no saint but this rape accusation is just dumb! |
Sports › Re: Chuma Okeke Chikezie 'KZ' Okpala, Olumiye 'Miye' Oni Made 2019 NBA Draft In US by Csami(m): 3:25pm On Jun 26, 2019 |
Jubilancy: There is something about basket ball players height that'a makes them look so hot for me though Steph Curry ain't got no height but i could be gay for him. Dude so fine |
Politics › Re: Igbos Attack BBC Igbo For Wishing Them 'happy Eid' by Csami(m): 11:58pm On Jun 04, 2019 |
Yyeske: You are the real Igbo hater, BBC never apologized, stop reading headlines alone, go to the source and check the dates of the fake news. Says the man crying on an igbo thread Your tears are delicious! |