₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,696 members, 8,528,837 topics. Date: Thursday, 03 December 2026 at 03:39 AM

Toggle theme

Adewasco2k's Posts

Nairaland Forum › Adewasco2k's Profile › Adewasco2k's Posts

1 2 3 4 5 6 7 8 ... 65 66 67 68 69 70 71 72 73 (of 126 pages)

Computers › Re: Post Your Computer (PC) Troubles Here. by adewasco2k(m): 7:30am On Sep 02, 2013
Boladot2: A.m palz i had a prob. N my coby mini, dis starts a week ago, whenever i start my system afta booting a message will display 'a problem has been detected' den it'll restart and it wnt display again. Any possible solution?u
operating system?
Family › Re: This Is The Best Example Of What ‘twerking’ Really Is by adewasco2k(op): 7:25am On Sep 02, 2013
Mubby4luv: stup*d post. Wasted ma precious Mb to watch a stup*d bi**h run her mouth instead ov to do da twerk tin. and @Op u wasted ur tym doin a random search and this wat u came up with as the best? #smh u are worst Dan da lady
Oh sorry dude my bad...i didnt made it too clear right? Watching online videos not for people on metered data! sorry you had to waste more data typing the poo above

#they keep ranting undecided
Family › This Is The Best Example Of What ‘twerking’ Really Is by adewasco2k(op): 6:56am On Sep 02, 2013
Wow...after a long night working, come on its 6:30AM now #phew.....lemme watch a girl TWEAK wink did a random search and yea...got it "Best twerk EVER"....oooh! yea! that must be it.....*adjusts laptop's screen*, she is about to flap those flesh...0:35 sec ooops! *re-adjusts screen*............................2:30 okay this is really the Best Twerking EVER.

Just watch until about 0:35 and you’ll see what I mean.

You’re welcome. Pass it around, especially to young people you know.


https://www.youtube.com/watch?v=rHdiutY4XqA

Good Morning peepz, Hakuna Matata
Computers › Re: Opera Vs Mozilla Vs Google Chrome: Which Is The Fastest Web Browser? by adewasco2k(m): 6:47am On Sep 02, 2013
Mozilla Firefox
Computers › Re: Post Your Computer (PC) Troubles Here. by adewasco2k(m): 5:55am On Sep 02, 2013
Skillz4u: Good day great people of nairalanders help me out with my compact laptop its not working again, when I power it up it will only show the first page when u on any system then it will start showing black and white. It will not go more from that. Thanks for your contribution
model of laptop? operating system? and more details
Computers › Re: Post Your Computer (PC) Troubles Here. by adewasco2k(m): 5:54am On Sep 02, 2013
GrAnDwEeZ: Plz guyz help here. . .my dell m5030 inspiron doesnt have bluetooth and wifi..but it came with a cd for driving them out. .tried driving them out.,but i'm getting response that its not compatible with my system. .what can i do cuz i really need the wifi. .tnx
You bought it brand new? this is to scrap out the question of "if the bluetooth or wifi hardware is inside"
secondly has it even been working?
if you didnt buy it brand new i think you should search for the drivers online rather also check you device manager if its even stated there
Computers › Re: Post Your Computer (PC) Troubles Here. by adewasco2k(m): 5:48am On Sep 02, 2013
bobo65: Pls I mistakenly sat on my mini laptop .. The screen broke... I wanna know how much I'll use to replace the screen...d pic is below..... D model is HP mini 210-2145dx..... U can call and whatsapp me cry if u have info for me on 070732443577...fanx cry
Dont place your Laptop on such a surface, always place on a solid flat surface. by the way the screen is around 7k
Jobs/Vacancies › Re: Post Abuja Jobs Here by adewasco2k(m): 8:50pm On Sep 01, 2013
[quote author=Ms_Steph]Ember month has come nd no job. Dis xams will be boring[/quote]Never! not when i am around *wink*
Happy new month sweet
Webmasters › Re: Who Can Create And Host A Blog For Me? by adewasco2k(m):
really? undecided
Programming › Re: Wordpress Plugin Development Tutorial by adewasco2k(m): 6:56pm On Sep 01, 2013
aye! aye!!
Nairaland General › Re: Woman Allegedly Commits Suicide Over iPad In Ondo by adewasco2k(m): 12:51pm On Sep 01, 2013
[quote author=wisdom-w]Gud news. May her ipadized soul rest in pieces. Crazy looking fowl yanshed fool[/quote]respect the dead bro
Computers › Re: Post Your Computer (PC) Troubles Here. by adewasco2k(m): 5:12am On Sep 01, 2013
Rocafela8: Please house all icons on my laptop's desktop has turned to vlc as default opener. If i try opening any it opens tru vlc thereby not opening. i tried uninstalling vlc then restarting the system it became normal but on installing vlc again it started again and changed as default opener again. What can i do ??
You will need fix the association for a particular file type but first what operating system do you have? secondly try this and lets see when opening a file lets say a word document instead of clicking open, right click and select open with, then click more programs and select Microsoft office, does that even work?
Phones › Re: Free Blackberry Unlocking Codes (NOT BLACKBERRY 10 DEVICES) by adewasco2k(m): 7:07pm On Aug 31, 2013
borolo: Hello, i need a code for bb 9780
imei:354261.04.992409.5
Mep-06813-002
6398089763413133
Romance › Re: Note To My Cheater Boyfriend by adewasco2k(m): 7:41am On Aug 31, 2013
men lie.... more. women lie! men cheat...... women cheat! end of discussion
Romance › Re: Men! Is This True? by adewasco2k(m): 7:33am On Aug 31, 2013
you guys are not nice at all... thanks OP at least i now know male aliens have hymens
Celebrities › Re: ''i’m Sorry For Embarrassing Nigeria, I Didn't Do It Intentionally''-beverly Osu by adewasco2k(m): 7:15am On Aug 31, 2013
Enough of this Beverly
Politics › Re: Boy Stowed Away In Arik Flight To Lagos by adewasco2k(m): 9:34am On Aug 25, 2013
this little boy don spoil show for those planning to travel abroad via same medium, enough checking now . sad

wait ooo! you guys don't know people have done this severally?
Politics › Re: Commit Adultery, Go Mad, Women From Enugu Ezike Land Be Careful News For You by adewasco2k(m): 9:23am On Aug 25, 2013
wow... I remember watching a cultural video of that town, so devilish......though on the article Akpanya is in Kogi State and not Benue
Jobs/Vacancies › Re: Jobs Section Moderator Helpline: Your Comments & Complaints Here by adewasco2k(m): 7:04am On Aug 24, 2013
iebanehita: Mods, this thread needs your urgent attention.

https://www.nairaland.com/1385182/how-many-people-received-mail/1

Please see to it.
Thank you
Computers › Re: Huawei USB Modem Unlocker - Download Here! by adewasco2k(m): 6:47pm On Aug 23, 2013
deeplo: @ all .. especially 3NREST and Femi4.. pls make una help me .. i dey on bended knees
if only you can go back, concatenate what i said earlier with what Femi said.... you will still not be confuse.

the truth : your modem E173u2 can't be unlocked by code simply because it doesn't ask for code. if you can successfully upgrade the firmware.... then you are good to go.... else your ONLY option is what Femi said DCcrap with credit.

my 0.99 cent
Programming › Php Array Problem [SOLVED] by adewasco2k(op):
hi mates, i just cant get the right approach to this problem, i have two arrays .
1. $attendance which has the following keys and values


Array
(
[attendance] => Array
(
[1] => 1
[2] => 1
[3] => 0
[4] => 1
[5] => 1
[6] => 0
[7] => 0
)


This is coming from a checkbox if checked value is 1 else value is 0

The second array is $remarks


[remark] => Array
(
[1] =>
[2] =>
[3] => 'sick'
[4] =>
[5] =>
[6] => 'leave'
[7] => 'On assignment'

)


Now this is what the key 1- 7 stands for the script is for employee's attendance the key 1-7 is the employeeID in the employee table in my database.

Now what i want to achieve is concatenate the array in such a way to look like this


Array
(
[0] => Array
(
[employeeID] => 7
[attendance] => 0
[remark] => 'On assignment'
)

[1] => Array
(
[employeeID] => 6
[attendance] => 0
[remark] => 'leave'
)

[2] => Array
(
[employeeID] => 5
[attendance] => 1
[remark] =>
)

//an so on
)


i already did it in a such a way that i first insert the attendance placing the remark as NULL then insert remarks as an update but i want a way to concatenate them and send it at once.

I hope somebody can understand what i want huh


Update
Just incase this might help, the template looks like this


<?php
$x=1;
foreach($employee as $employe)
{
$employee_id=$employe['employeeID'];
echo "<tr><td>".$x."</td>";
echo "<td>".$employe['name']."</td>";
echo "<td><input type='hidden' name='attendance[$employee_id]' value='0'/><input type='checkbox' name='attendance[$employee_id]' value='1'/></td>";
echo "<td><input type='text' name='remark[$employee_id]'/></td></tr>";
$x++;
}
?>


the template has an hidden checkbox checked with value of 0 and having same name with the other visible checkbox, so if the main checkbox is check the value will be 1 from the main check box otherwise value will be 0 following now is the text field name remark.

Just to add, the names on the picture below are fake and not real names just dummy data from my database grin

SOLUTION:


$attendance = $_POST['attendance'];
$remarks = $_POST['remark'];

$collect = array();
foreach ($attendance as $employeeID => $attending) {
$collect[] = array(
"employeeID" => $employeeID,
"attendance" => $attending,
"remark" => isset($remarks[$employeeID]) ? $remarks[$employeeID] : ""
);
}

$values = array();
foreach ($collect as $entry) {
$values[] = "(" . ((int) $entry["employeeID"]) . ",
CURDATE(),
" . ((int) $entry["attendance"]) . ",
'" . sql_escape($entry["remark"]) . "'
)";
}
$query = "INSERT INTO `attendance`
(`employeeID`, `date`, `status`, `remarks`)
VALUES
(" . implode(",", $values) . " )";

Computers › Re: Huawei USB Modem Unlocker - Download Here! by adewasco2k(m): 4:50pm On Aug 22, 2013
where is my pop corn huh

TV/Movies › Re: Titanic-1912 Original Footage,photo Of D Real Jack Dawson+a Shocking Revelation by adewasco2k(m): 9:37am On Aug 22, 2013
sad

Fashion › Re: Would You Allow Your Girl, Sister Or Mum To Rock This Outfit? by adewasco2k(m): 9:30am On Aug 22, 2013
embarassed

Programming › Re: Plz Help me @ All Nairaland Programmers [desktop, mobile or web developers] by adewasco2k(m): 7:58am On Aug 22, 2013
Hennyola: Hi Nairaland Programmers,

Please, is their anyone who has done a topic of this nature or a similar topic as a final year project or a freelance Project either desktop base app or web-based just for a clue on how its going to be? Please reply here and lets talk and give me idea on how to go about it, Please, its my final year project.

Topic: Online Patient Diagnostic Disease System or Online Medical Diagnostic Disease System.
can you give details? like expected features of the app
Computers › Re: Huawei USB Modem Unlocker - Download Here! by adewasco2k(m): 12:44am On Aug 22, 2013
deeplo: Just because you think you are smart does not actually mean you are smart. Bros, think before you talk. Do you know how many websites, software including dc-locker, master code etc that i have download? with each not been able to do the unlocking? abi you think am a jjc in software-telecom issues? abegi....

Where you think you have good knowledge of something, you will be amazed that there is someone (some people) that possess more than you. This is what happened here, so don't judge me.

Let me educate you more. Here is my modem details
IMEI--867749018494876
UNLOCK---51988754
FLASH----41208188
These should informed you that i have done alot on the modem itself but i still cannot UNLOCK it. If you have any software that can unlock E173u-2 help a brother with it, rather than glorifying your knowledge.
wow, take it slow bro, i was only been sarcastic...too bad you didnt see that, there is actually no need to flare up, no body is a pro or something, we can always learn from each other..i said all that with no motive to be little you, if you felt otherwise i am sorry.

What i expected was: I know you have tried to unlock it and you know the modem is not asking for unlock code, so you needed an alternative, you could have just come out plain, some others who dont know that particular modem might go as far as seeking the unlock code for you only for you to come back and ask HOW DO I INSERT THE CODE which can be so annoying.

Thatzall grin
Celebrities › Re: PHOTO: Check Out Agbani Darego Stunning Look by adewasco2k(m): 11:37pm On Aug 21, 2013
kreami diva: I think i know what that huge V down there is..... lipsrsealed
You think you know? okay go do your findings and come back with your report
Celebrities › Re: PHOTO: Check Out Agbani Darego Stunning Look by adewasco2k(m): 11:36pm On Aug 21, 2013
Chinwem: She's alright o......she ll fill out nicely after marriage and a couple of kids so no need to worry.
Your missing rib will surely show up soon IJN.......I pray for you my dear.
no need for such prayers....i am here to take her to mama.


...but seriously the stomach, whats that huh
Jobs/Vacancies › Re: Post Abuja Jobs Here by adewasco2k(m): 10:51pm On Aug 21, 2013
Specialist900: so it's now in the open. grin
it has always been in the open..... im also watching you on HD grin
Jobs/Vacancies › Re: Post Abuja Jobs Here by adewasco2k(m): 7:56pm On Aug 21, 2013
[quote author=Ms_Steph]cryAde who r u loving again? Tot u loved only me[/quote]love you guys => God's love
love Ms_Steph => God's love + Agape love wink

1 2 3 4 5 6 7 8 ... 65 66 67 68 69 70 71 72 73 (of 126 pages)