Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,331 members, 7,808,117 topics. Date: Thursday, 25 April 2024 at 07:24 AM

CyberG's Posts

Nairaland Forum / CyberG's Profile / CyberG's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (of 124 pages)

Programming / Back Pain As A Software Designer /Developer? by CyberG: 6:24am On Jul 27, 2013
Damn...my back hurts! angry angry angry Has or is anyone who architects/builds/develops software for a living experiencing back pain?

Yesterday and today especially I noticed my back kinda hurts!

I have a very comfy office desk and chair with everything state of the art but I think my chair at home is crappy, it is a regular chair with which I support my back with a pillow but it is not working!

I spend hours at times doing my thing and I have decided tomorrow, I am going hunting for the most comfy, ergonomic chair I can find on the market!

In fact, a new computer desk, any ideas?

Is anyone experiencing something similar?
Programming / Re: PHP Masters Pls Help A PHP Learner Please. by CyberG: 5:49am On Jul 27, 2013
Since you posted so little code, I can only point out obvious errors.

1. In this function, your local variable is $pn, but your where clause uses $pid. As far as PHP is concerned $pid is undefined and $result will not contain the correct results. It might help to echo $pid to see if it contains correct data. I would think you meant to use $pn since that is the argument in the function.

2. Do you have a 'Name' column in the associative array $row? Do a var_dump($row) or print_r($row) to see if there is a 'Name' column in the returned array, if not, you know why your return statement is not giving you correct data when you echo it. You should see something like:

Array
(
[0] => ...
[...] => ....
[1] => ...
[...] => ....
etc and Name should be there!
)

3. Finally, to actually be able to see all the data returned from your table, you should loop through the results, so put your $row = ... in a while loop:

while ($row = mysql_fetch_array($result))
{
echo $row["id"] . " ==> " . $row["Name"]; //Substitute your correct column names to see the correct results
}

4. After you are certain you can see the correct data within this function, then you can return it but note that you CANNOT simple echo the array like a simple variable. In your calling method / function, you need to iterate through it like I described here and then you can do whatever you like with it. Echo is so, so basic if you are developing a serious app! In fact with some advanced frontend JS libraries, it is beyond ridiculous to 'echo' as it messes up your testing process! Get a nice logging class and log to a file instead and you can preserve the results from run to run and see what is happening!

5. Other observations: mysql_query is deprecated! Stop propagating old, deprecated code/extensions in your project and the internet! Use mysqli_query or PDO::query() instead! I hope some of these ideas help you!

function getProductName ([size=18pt]$pn[/size])
{
$result = mysql_query ("SELECT * FROM product WHERE ProductID = '[size=18pt]$pid[/size]' " );
$row = mysql_fetch_array ($result);
return $row ['Name'];
}

1 Like

Politics / Re: New Anambra State University Teaching Hospital Awka(pictures) by CyberG: 2:01am On Jul 27, 2013
For goodness sake, why build a N 100 M house and refuse to spend N 1 M just to landscape it properly! The buildings look good but just landscape it, hire an experienced contractor, it can't be that hard, haba! Plus, after making the building look so nice, why on earth did any electrician pull lay the wires ON the building!!!!? angry angry angry angry Trunk it or better still carry it in underground pipes! angry angry angry

3 Likes

Politics / Re: EZIACHI- I Will Be Signing Off For A While by CyberG: 1:57am On Jul 27, 2013
anago12: wishing one of the igbos i admire alot on this forum quick recovery. I will be off too for a while lost my smartphone and laptop to robbers two days ago.

Ol boy, sorry oo! I am not sure if it is to pray now or to donate something but when you replace those things, buy some insurance abeg! It should be relatively cheap!
Politics / Re: EZIACHI- I Will Be Signing Off For A While by CyberG: 1:55am On Jul 27, 2013
payless: The Lord is your strenngth. Get well soon Sir!

Your are a gentleman for sharing person problem with us. Kudos!

My wife has been an amputee (below the knee) for 2 years. It was not easy in the first 6 months. She lost her leg on Christmas day 2010 to systemic lupus after 4 years of excruciating pain in both legs. My wife is a beautiful lady but this illness has turned her to a 60 year old woman with grey hair, she is only 32. Imagine having 4 different specialist doctors attending to your sickness.

I am really sorry to hear about this sad situation! I pray that God gives your wife good health and strength to carry on, and you love, strength, resources and may all your needs be supplied by God to his glory! I wish you both really well.
Politics / Re: EZIACHI- I Will Be Signing Off For A While by CyberG: 1:49am On Jul 27, 2013
ACM10: Get well soon Dr Eziachi. I thank God that you took the right decision to amputate the dead limb. ...

He was only 36yrs with 4 kids. The youngest is 3 weeks old. He refused to heed my advice that half-life is better than half-death. So, I congratulate you for taking the wise decision. It is well with you.

shocked shocked shocked Sorry to hear about your loss! Things they happen oo!
Politics / Re: EZIACHI- I Will Be Signing Off For A While by CyberG: 1:48am On Jul 27, 2013
Baba Eziachi, I am sorry to hear about your current health challenges but I hope and pray to God you be healed and get strong again, very soon! I always guessed you were a good man and I am glad to be able to send you this message with my authentic CyberG after recent attacks and run-ins with the new laws on Nairaland! grin grin Get well soon!
Family / Re: Please Say A Prayer For My Son (PHOTO) by CyberG: 2:33pm On Jul 26, 2013
May God keep your son, nurture him, make him strong and alive to declare the wonderful works in the land of the living! In Jesus Name, Amen!
Politics / Re: How Africa's New Urban Centers Are Shifting Its Old Colonial Boundaries by CyberG: 8:38pm On Jul 02, 2013
Dprinzcolection:

That is the number 1 problem of Nigeria, tribalism. And we may not go anywhere with these kinds of mindsets. Theres nothing wrong with preferring to partner with West Africans instead of other Nigerians you consider enemies, but when the Igbos wanted to move their separate ways you were part of the people that ganged up and fought against that plan? How then do you want to move away from Nigeria? For your info, the other west Africans you love and prefer to call brothers do not even want to associate with you.


I will keep this to the point! Mister, go and educate yourself and read some history before disgracing yourself to the whole world. [size=14pt]The South Western Yorubas DID NOT gang up against your "innocent" biafra dream[/size], rather the South West (just like the Midwest) maintained a neutral stance towards the war UNTIL Ojukwu and the ibos got greedy and figured they could get to Sokoto (the seat of the Caliphate, "their enemy"wink through the South West and Lagos! Everyone can see the map, is that the road to where the war front should be? Well, it was clear Ojukwu thought he could make the far more advanced Yorubas part of his foolis.h biafra dream in the name of "liberation" and invaded it! The Yorubas for more than 700 years have been war faring and vastly militarily superior to the new kids on the blocks (ibos) and they had no choice than to [size=16pt]defend every square cm of their land from the front starting from Ore[/size], hence the catastrophic capitulation and destruction of biafra's inferior and untested army! Note that Ojukwu, the best military leader ibos ever[size=16pt] had NEVER seen combat action IN ANY WAR or even civil riot[/size], lest command a platoon in war ever in his life before declaring a weak, failed attempt at war that was doomed from the outset. My advice to you next time is to revise your history properly before making a public IGNORAMUS of yourself!

1 Like

Politics / Re: Construction Of Seaport, Airport Begins At Lekki by CyberG: 5:57pm On Jul 02, 2013
scipher: Bet, na only lagos de? sad

Well, apparently the ONLY governors with sense, vision, administrative and leadership potentials are virtually ONLY in the South Western part of Nigeria!

32 Likes

Politics / Re: Shoprite Opens In Ibadan by CyberG: 1:32am On Jul 02, 2013
Those picture are good indeed! Well, the people who will never see anything good in the SW are known haters anyway! Ibadan and the SW generally was a city-state as far back as before the 1800s with real houses! I have read about references to the Yorubas (Anago, Lucum, etc) in history books that go back 10,000 years and I don't even know as much history as some people here, whom I won't even mention their names! The haters (ibos really) on the other hand were "discovered" in the 1900s! I have read about Yoruba wars that go almost into the mediaeval times, that is as far back as the 1400s! So it is funny in an annoying way when ibos who were still living in the forests and tying palm fronds around their waists in the 1900s, spew thrash from their gobs.

1 Like

Politics / Re: Of Nebo And His Demons by CyberG: 12:53pm On Jul 01, 2013
Excuses ONLY ACCEPTABLE when the people by the eastern waterside are concerned! If he were from any other part of Nigeria now, everyone would have had to endure a barrage of whining and how the streets of their lands could have been laid with gold and lined with diamonds and their pedestrians walking on water! Well, nothing new!
Politics / Re: CNPP Asks Jonathan To Recover $400bn Looted Fund by CyberG: 5:10am On Jul 01, 2013
You mean he should request to himself that the billions of USD he stole be returned? Just like the billions stolen via subsidy removal and payments? Or the ones stolen via militant contractors where stolen oil is converted directly to cold hard cash bypassing the company's economy and banks making it untraceable??
Politics / Re: Nigerian Government To Create A Million Jobs Through Online Initiative by CyberG: 12:51am On Jul 01, 2013
1 Million LAPDOGS to prop-up the puppety retardeenic GEJ government! angry angry angry

1 Like

Sports / Re: Brazil Vs Spain - Confederations Cup Final (3 - 0) On 30th June 2013 by CyberG: 12:04am On Jul 01, 2013
mama-gee:


Just because of their performance in 45 minutes? undecided

Don't be foolish, Spain will put Brazil in their place in the second half. . .

Spain always seal their victory in the second 45 minutes of every crucial match. . .

I have learned this over the years I have watched them play

Are you SURE of this madam?? LWTMB! grin grin
Sports / Re: Brazil Vs Spain - Confederations Cup Final (3 - 0) On 30th June 2013 by CyberG: 11:57pm On Jun 30, 2013
shymexx:

Lmao. Don't forget that the bulk of the teams that annihilated Barca and Real are Germans.

Heck, their team B would hold their own against both teams. tongue

Team A should beat both teams.

Brazil still needs a great striker and someone that can support/act-as-a-back-up for Neymar. This team looks like a one-man team - Neymar and the rest IMO.


[size=16pt]This is anything BUT a one-man team man![/size]

1 Like

Politics / Re: Ogun State Gov. Ibikunle Amosun Boasts: Ogun Is More Industrialised Than Lagos by CyberG: 10:25pm On Jun 30, 2013
EASTSIDAZ: [s][/s]


Garbage..

My friend go back to school or rather file charges in court to reclaim the money your poor parents wasted on you. Inferiority complex filled yorrobas. Iti akwu.. grin grin

[size=18pt]Truth is bitter, no doubts! [/size] grin grin If you have historical, different facts, present it in confidence!

3 Likes

Politics / Re: Ogun State Gov. Ibikunle Amosun Boasts: Ogun Is More Industrialised Than Lagos by CyberG: 9:10pm On Jun 30, 2013
Eko Atlantic: Not until Ogun state igr can reach half of that of Lagos, Ogun should honorably take the second position as the most industrialized state in the country.
The governor should be commended though, N750million to N3.8billion and still counting, within two years is commendable.

To those Ogun people who posted earlier trying to convince those omo ibos, you all are bringing ogun state so low. I think the whole eastern states should be competing with Ibadan in term of numbers of industries.

The present SW governors are doing above average in term of igr generation. Ekiti's Igr was formerly N100million plus, it's presently N600million(Lagos former IGR). Osun state Igr was formerly N300million, it's been increased to N700million as at now.

Oga, I hope you don't involve yourself in the kind of "i before others" contest we have come to know with ibos on this forum. Let it not be seem as though it is important if any part of the Yoruba Commonwealth has more of something more than the other part. What is important is the advancement of the people, their heritage and inheritance and Nigeria by extension and in general. Let more industries be created in Ogun if that be the case, let more be in Lagos, Ibadan or Osun State, let more corporate headquarters be in Lagos, let the people be able to access the hinterlands of Osun and Ekiti State for tourism, agriculture, etc. It all adds up eventually for the better for everyone! Cheers!

2 Likes

Politics / Re: Ogun State Gov. Ibikunle Amosun Boasts: Ogun Is More Industrialised Than Lagos by CyberG: 9:05pm On Jun 30, 2013
kettykin:

The Best yorubas can do to avoid the embittered and frustrated igbos is to either force them out of Nigeria so that they go to hell with their Biafra or alternatively yorubas can opt out of Nigeria and form their Oduduwa Republic and all the Animosity will end. anything short of this is Hypocrisy Period !!!

You are getting it totally backward, a clear case of ignorance, lack of deep and clear thinking. First, Nigeria is what it is today because your father and grandfathers like Azikiwe, out of an inordinate ambition to profit disproportionately from the union at and after Independence, did not see far enough like Chief Obafemi Awolowo. He and his lieutenants espoused a position Ojuku would rather canvass a few years after independence and for which Azikiwe's kin paid not less than 3 M lives in that war alone. Are you following me? He wanted a constitutional option that would allow any part of the union to stay out of the union but Azikiwe and his fellow ibos refused for they thought being in a nation in which no one could leave but with a majority Hausa/Fulani population who were relatively "disadvantaged" then would give them more opportunities to rule the lives of several million more people, bigger market, more reach and more money while lording it over them in their lands! In fact, after independence and during the first republic when Azikiwe had another chance to form an alliance with the Yoruba West you are upset at today, what did he do? He preferred the "illiterate, backward, etc" Northern Hausa/Fulani and it seemed to work out only he did not realize that he came up with the short end of the stick for himself and his people with a mere ceremonial position! Did you read that history or were you alive then? The greed for power would eventually culminate in the first coup in Nigeria which killed leaders from the other parts of Nigeria but the return match a few months later eliminated ibo leadership. Ojukwu went to war and the result? A more catastrophic loss! Why am I telling you these? [size=18pt]To knock it again into your empty skulls that the Yorubas are not and were never the cause of your problems, blame your fathers and leaders! [/size]

The leaders of the Yorubas, led by War General, Chief Obafemi Awolowo, anticipated a problem long before it actually came up and proffered a solution that could have left any other part in fact "begging or negotiating" with another part if it wanted to break away! Now, that is the position anyone would want to be in where you can not only negotiate on equal terms but with a slight advantage but Ibo leaders completely threw it away and helped to put Chief Awolowo in prison to dilute his influence and boy did they all fail! LWKMD! grin grin Enter J.T. Aguiyi-Ironsi, what did he do? He still with a backwards mentality compounded Nigeria's problem by abolishing the little room that could allow regions of Nigeria to showcase their value to other parts of the country so it is clear who is ahead, who may need some more help from a stronger part of the country, etc by abolishing REGIONALISM with which the Yoruba South West had OPENED A HUGE, INSURMOUNTABLE LEAD over the ibos, moreso any part of the country! What did he do? Slow them down by being able to dictate the terms of governance from a UNITARY government led by the ibos! You see why history cannot be kind to you? Some humility might buy some regard for ibos but even the smallest individual from the smallest tribe in Nigeria CANNOT regard ibos for if they sought to take control of the lives of bigger peoples by population and resources (NORTH & WEST), what is the hope of the Bachama in Adamawa State, or Uyanga in Cross Rivers State, the Zayam in Bauchi, or Uneme in Edo State? How about the other hundreds of tribe you have never heard before, some of them known to exist even before "ibo" was discovered e.g. the Binis? This is why even a smaller tribe knows that the Laws of Averages ensures that their LOT is MUUUUUCCCCCHHHH better in a big country like Nigeria where NO SINGLE TRIBE OR PEOPLE can literally walk over them, subjugate them with none to help or standup for them AT ALL! This is why no other part of Eastern Nigeria want to be stuck with an ibo biafra country even if its street were lined with GOLD (a joke really for even with all the make believe ibo boasting, asphalt is yet to be laid over the larger percentage of your MAJOR streets!) You see where this is ending now? The egg of nationhood was broken at independence and except there is an easy way to reverse engineer a broken egg into its previous state, you cannot unilaterally put the blame of the errors of your fathers and grandfathers on the Yorubas who spoke of today more than 50 years ago! Are we clear?

Now, let us assume the current commonwealth of peoples called Nigeria will someday grant the wish of the ibos to, in your own words allow [size=18pt]the embittered and frustrated igbos is to either force them out of Nigeria so that they go to hell with their Biafra[/size], start by demonstrating your goodwill and nobility to this objective by moving back into your Iboland to constitute an almost 100% ibo country! Let each man speak to his fellow ibo, make out full page newspaper adverts, buy airtime on foreign and international news and media to announce that all ibos will move back to their own countries within say one year and REMAIN there! You have constantly said that the Yorubas and Hausas and the several hundred other tribes of Nigeria are responsible for holding the Jews of Africa (LWKMD) down, now show the whole world how you will turn the streets of iboland into something similar like the heavenly Jerusalemic paradise. Line with gold, diamond and sapphire! Deck it with ruby and pearls. Change your clayey dirt-brown sand and erosion prone gullies into an oasis of agricultural plenty. Build huge buildings like you bragged you had but was destroyed by the Nigerian Army during the Civil War. Turn your water into wine so even travellers trying to cross from the far east to the far west in Lagos could take a break at the Niger bridge, go down to the water and take a glass of wine right from that river! You cried about your biafran currency, create currency minted in precious stones, make your economy so great just like you said you would. After you have done these things, you will not even notice the "crappy" Nigeria you whine about all the time! The poor Hausa/Fulani would be spotted without uttering a word for all of you will be dressed in princely robes and your women adorned in knee length mini skirts of pure jewels. Your so called enemies in the north will come to beg you and your Ijaw neighbours wil all convert into ibos. I could go on...but until you do these things, SHUT YOUR BIG BOASTING MOUTH!

I can assure you, and I do not even speak for the Yorubas, the Yorubas are not going to cower out of a Nigeria you helped to force on everyone! They do not whine like ibos do for you flock into their lands EVERYDAY, just like you flock north despite boko haram, despite that you said the Hausa man is your enemy, you still will not leave anyone or their lands alone! Oh, you complain about the Ijaws and whine about how they sabotaged your still born biafra but you cannot leave even one drop of their oil alone! In the Yoruba country, where you are just hosts and MUST leave if Nigeria were to break up, you have your eyes on every square cm of their lands from Lagos to Osun to Ogun to Ekiti, to Oyo! They "invented" more land called Eko Atlantic, you cannot leave them alone! Your men marry their girls! Your women won't leave the Yoruba men alone so at least you can create mixed babies! grin grin Somehow, you think they will just get up and leave when they are not only bossing the competition, but on their terms and in fact do not care whether ibos or anyone is impressed. On the other hand, ibos feel a need to show off their money, that they have something going for them, that they are somewhat special heavenly creatures! LWTMB! grin grin Well, the Yorubas in whose land you rent to leave in are not going to shy away from any competition but it seems ibos would rather want to "compete" with Hausas and other smaller tribes with whom they think they can take one over them. Well, I hope you children of this generation learned better than your fathers - if you learned at all from their mistakes!

4 Likes 1 Share

Politics / Re: (VIDEO) Bad Governance Responsible For Boko Haram — Obama by CyberG: 8:13pm On Jun 30, 2013
This is one of the reasons the US (West, generally) is doing better. Did anyone pay attention when he said "...all the US would want to do is to sell iPads and Planes..."? That's it! He summarized, from another perspective, why the US keeps leadership while countries like Nigeria are happy to scavenge for the crumbs of oil, government contracts and re-selling old ideas and services without emphasis on innovation, inventiveness and creativity of the people. If the US were, somehow, undistracted with a lot of external nonsense they could be doing even much better! Nigeria is really not so distracted but our leadership has only been pissing away the destiny of the entire country. iPads and aeroplanes indicate invention, creativity, continuous advanced research and development yes with BIIIIIIIIIGGGGGG financial returns! They have much natural resources like oil, he did not even mention it. Tourism opportunities in abundance! Education opportunities in abundance! But their vision is to sell aeroplanes (private jets) and jumbo jets they know it will take eons for countries pissing away their existence to get around to even manufacturing not to mention innovating and improving existing technologies. This is one of the reasons you have a society most people would rather live in, people they would rather stay around rather than the hellish nightmares leaders of countries like Nigeria create and perpetuate in their geographical space.
Politics / Re: Ogun State Gov. Ibikunle Amosun Boasts: Ogun Is More Industrialised Than Lagos by CyberG: 6:38pm On Jun 30, 2013
This is a vey good thing indeed! The Yorubas regard any advancement in any part of heir Commonwealth as progress for all. Ignore the angry people from Iboland by all means. For over 40 years they have been mad over th outcome of their 1967 war and this might be the case in the next 4,000 years. Just let them stew in their anger by paying them no attention.

1 Like

Politics / Re: Shoprite Opens In Ibadan by CyberG: 12:17pm On Jun 30, 2013
IYA NGBALI: God bless you,though I don't know you,but I am sooooooooooooo proud of you. Omo ale ni bobo yeye e ba mi fi oyinbo bu dada

Thanks! grin grin wink
Politics / Re: Akwa-Ibom Mini-water Project Collapses Killing One by CyberG: 6:39am On Jun 30, 2013
Eko Ile:



What do you want them to say? You want them to say sorry or admit that their hero is just another fraud, a crook and incompetent joker? They are too tribally polluted for all that

Let's see if anyone will show face. If none does, the reason is obvious anyway.

2 Likes

Politics / Re: Akwa-Ibom Mini-water Project Collapses Killing One by CyberG: 5:33am On Jun 30, 2013
Isn't this a new construction project yet to be commissioned and has already collapsed? Na wah oo!

1 Like

Politics / Re: Shoprite Opens In Ibadan by CyberG: 1:09pm On Jun 29, 2013
ketoprofen:

My dear, help me ask them o. the funny aspect of all these is thst some of their own started yabbing ibadan, one guy like dat cyberG vented the frustration on igbo guys immediately, and am telling him to direct his anger back to the abeokuta peeps, he refused.

is it not under-exposure to the good tnz of life that will make sb think anoda envies him for sth he just got. its like telling Onitsha peeps they are envious of shoprite, do u know how many shopping malls/departmental stores there or is it cos this particular one has the name shoprite ? Garri dudes

There's no point even talking to people like you as counselled by a wise poster in the past few posts. No doubt you people are programmed to hate and this blinds every atom of common sense. Well, Ibadan is prepping up for more business (2nd Shoprite in construction) and I do not support or prefer foreign companies to make money off Nigerians but it is what is it now. A private business knows much better than Internet tribalists if it open 2 or 3 stores in an area while ignoring or investing much less in the local economy of another place. You can guys can knock yourself out on your permanent complaints but when the rubber meets the road, everyone knows who the historic loser is in Nigeria.
Politics / Re: Eko Atlantic Builds Iconic Boulevard Gateway To The Business District by CyberG: 4:58am On Jun 29, 2013
Oops! Eko Atlantic CONNECTED to the rest of the perpetual land assets of Lagos and the larger Yoruba SW of Nigeria! Nice. More pictures please! grin grin

1 Like

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (of 124 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. 84
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.