₦airaland Forum

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

Stats: 3,344,315 members, 8,511,170 topics. Date: Saturday, 31 October 2026 at 11:44 PM

Toggle theme

Uvalued's Posts

Nairaland Forum › Uvalued's Profile › Uvalued's Posts

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

Politics › Re: Epic Reply This Guy Gave Osinbajo On Twitter by uvalued(m): 10:41pm On Jul 30, 2016
Hiroto:
w t f. Are we their FG or are they our FG?
Feranchek:
What a foolish and stupi.d post from the VP. So na we go think for una while una go dey collect the money okwaya?

Iranu
grin grin grin grin
Car Talk › Re: Tire Threads And Their Meaning. by uvalued(m): 6:51am On Jul 30, 2016
ok
Programming › Re: Populate 3 Drop Down Menu Using 3 Different Tables by uvalued(op): 6:45am On Jul 30, 2016
hello still expecting your support
Programming › Populate 3 Drop Down Menu Using 3 Different Tables by uvalued(op): 12:14am On Jul 30, 2016
Greetings. I am designing a simple page which should have three drop down menu which should be populated from the database after each selection of option... I searched and found the following

https://www.nairaland.com/2852008/everyday-php-programming-challenge-solved#41811565

https://www.nairaland.com/2837905/javascript-jquery-html-5-css#41766960

https://www.nairaland.com/975932/need-php-code#11247872

but the solution was targeted at either one or two drop down menu.... below is the code u have put together (am using deprecated mysql but will convert it to pdo after i grasp it).

<html>
<head>
<script type='text/javascript' src='staff.js'> </script>
<script type='text/javascript' src='staffs.js'> </script>

</head>
<body>

<form name="aschform11" action="" method="post">
<strong><font size="3">Select Rank of Staff</font></strong>
1. -----Drop down menu Contains rank of staff which is first clicked
<table id='staff'>
<tr>
<td width="550">Staff</td>
<td width="30">

<select name="country" onChange="getlevel(this.value)">
<option value="">Select Staff</option>
<option value="1">Lecturer</option>
<option value="2">Asst. Lecturer</option>-
<option value="3">Cleaner</option>
<option value="4">Mechanic</option>
<option value="5">Driver</option>
</select>

</td>
</tr>
figure 2. -----Drop down menu Contains levels which is populated SUCCESSFULLY after figure 1 (rank of staff is clicked)

<tr style="">
<td>Level</td>
<td >
<div id="leveldiv">

<select name="level" onChange="getcode(this.value)">
<option>Select Level</option>
</select>
</div>
</td>
</tr>
Figure 3. -----Drop down menu should be populated with course codes after level is selected
<tr style="">
<td>course_code</td>
<td >

<div id="code_divs"><select name="course_codes" >
<option>Select Course Code</option>
</select></div></td>
</tr>

</table>
</form>
Using the following AJAX codes, works well to populate level drop down menu after staff drop down is selected

function getXMLHTTP() { //fuction to return the xml http object
var xmlhttp=false;
try{
xmlhttp=new XMLHttpRequest();
}
catch(e) {
try{
xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"wink;
}
catch(e){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"wink;
}
catch(e1){
xmlhttp=false;
}
}
}

return xmlhttp;
}

function getState(levelId) {

var strURL="findlevel.php?level="+levelId;
alert(strURL);
var req = getXMLHTTP();

if (req) {

req.onreadystatechange = function() {
if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
document.getElementById('statediv').innerHTML=req.responseText;
} else {
alert("There was a problem while using XMLHTTP:\n" + req.statusText);
}
}
}
req.open("GET", strURL, true);
req.send(null);
}
}



Here is level.php,

<?php $level=intval($_GET['level']);
$link = mysql_connect('localhost', 'root', ''); //changet the configuration in required
if (!$link) {
die('Could not connect: ' . mysql_error());
}
mysql_select_db('compt');
$query="SELECT id,levelname FROM leveltable";
$result=mysql_query($query);
echo "<select name='state'>";
while ($row = mysql_fetch_array($result)) {
echo "<option value='" . $row['id'] . "'>" . $row['levelname'] . "</option>";
}
echo "</select>";
?>
RESULT:
After selecting Staff rank in figure 1, It display the following level correctly from table level in levels Drop down menu
100 LEVEL
200 LEVEL
300 LEVEL
400 LEVEL
Which is okay. My problem is that i modified the AJAX and Php codes above so that i can populate the course code drop down menu after selecting the level drop down menu like so

After selecting 100 level in figure 2 , wants course codes, in table
course_code, to populate the drop down menu 3
com111
com112
com113
etc-->

nothing shows like the image below.

Thanks for your suggestion

Programming › Re: Free Online Embedded System Design Tutorials with PIC by uvalued(m): 11:36pm On Jul 29, 2016
noted micro
Car Talk › Re: Knowing The Meaning Of The Colour Of Your Dashboard Warning Light Is A Lifesaver by uvalued(m): 6:36am On Jul 29, 2016
andy atings
Business › Re: Businesses That Can Never Go Out Of Fashion by uvalued(m): 3:34pm On Jul 28, 2016
Ewizard:
Bros how u tek link your image to your post??

The NL [img][/img] link src doesn't work for me oo

Only attachment works here for me..
me too i de wander
Politics › Re: Immunity Can't Stop Fayose's Prosecution- Aisha Buhari by uvalued(m): 9:30am On Jul 28, 2016
code11:
The Buharis are now forming sherif in town, attacking anyone who challenges them. They should not forget this is Nigerian politics, the next move is always unknown. They have decided to bite saraki and Ekweremadu, now it's Fayose. I will be smiling when the user and lower chamber plans an impeachment.

Play your game like chess....
hmm..BUHARI fighting on two fronts .... not good...against sarekw ... his loyalist and pdp may go for buhari jugular thru impeacment... aisha wins N5billion against fayose immunity, his certifcate case will be resumed.. choi this is some chess game.. lets me sit and follow
Politics › Re: Immunity Can't Stop Fayose's Prosecution- Aisha Buhari by uvalued(m): 9:26am On Jul 28, 2016
dokiOloye:
E be like this woman na dulllard like her husband too.
Her husband is hiding behind section 308 to evade prosecution for his obvious lack of high school certificate but she feels Fayose can be prosecuted even though he enjoys d same cover.
let me get this straight,
in order words, IF she succeed to make him pay the n5billion, it means someone will make pmb to provide his certificate...am i hearing and uderstqnding correctly...hia this is really checkmate in play..chessthings
Politics › Re: Jibrin Raises 20 Questions For Dogara by uvalued(m): 9:25am On Jul 28, 2016
shukuokukobambi:
Since Jibrin opened his book of lamentations, i've just been having laughs upon laughs cheesy

Gbajabiamila go just dey laugh the 2 of them like this

[img]http://1.bp..com/-psSaCpk6VKY/UGM3edtIV8I/AAAAAAAADPE/BkC8uaKjoAg/s1600/michael-jordan-laughing.gif[/img]
lol
Politics › Re: Military to launch Operation Ex-Crocodile Smile In Niger Delta by uvalued(m): 9:25am On Jul 28, 2016
BeeBeeOoh:
It is only when mosquito perches on your scrotum that you will understand everything is not about force- Anonymous





I dey laf Buhari & his advisers
this is really serious..
Career › Re: 4 Warning Signs That You Won’t Get The Job – And How You Can Fix It by uvalued(m): 9:24am On Jul 28, 2016
andied thinks
Properties › Re: How To Obtain Certificate Of Occupancy In Oyo State by uvalued(m): 9:24am On Jul 28, 2016
platinumtt:
Valid C. of O. duly confers statutory right of occupancy on the possessor and this entitles the owner right to use the land for a period of 99 years after which the C. of O. can be renewed or the land revert back to the government.

Procedures:
1. Obtain application form from Lands Department of the State.
The following documents are to be provided along with the application form;

a. Deed of Conveyance
b. One Recent Passport photograph
c. Three years tax clearance
d. Survey Plan
e. Evidence of payment for Application Form
f. Evidence of payment for Publication (Advert)
g. Evidence of payment for Charting of the survey plan

Next step;
i. Physical Inspection by the Lands Department.
11. If all listed above satisfies the requirement of the lands department, the Lands Department prepares the Certificate of Occupancy in the name of the applicant and the purpose for which the application is made.
iii. The prepared Certificate of Occupancy is then forwarded to the Governor or the designated officer for signing.
iv Once signed, the land is then entered into the intelligence sheet to be charted to prevent re-issuing of C of O to another applicant within the stipulated period of 99 years.
v. Proceed to final Stamp Duties payment
vi. Finally, Collect your valid C of O.

http://www.naijalandproperties.com/community/documentation-approval-processes-oyo/how-to-obtain-certificate-of-occupancy-in-oyo-state/
will other state besimilar
Politics › Re: Immunity Can't Stop Fayose's Prosecution- Aisha Buhari by uvalued(m): 9:00am On Jul 28, 2016
dokiOloye:
E be like this woman na dulllard like her husband too.
Her husband is hiding behind section 308 to evade prosecution for his obvious lack of high school certificate but she feels Fayose can be prosecuted even though he enjoys d same cover.
let me get this straight,
in order words, IF she succeed to make him pay the $5billion, it means someone will make pmb to provide his certificate...am i hearing and uderstqnding correctly...hia this is really checkmate in play..chessthings
Christianity Etc › Re: Iceland World Most Peaceful Country by uvalued(m):
KingEbukaNaija:
Christian country Iceland is way better than atheist country North Korea . The most advanced country in the world is Norway and Switzerland has the lowest crime rate in the world - both are Christian countries. The Christian countries are all doing fine , 32 percent of the world's population - the Christians - have 55 percent of the global wealth .
dis is what i wanted the op (wont give him the honor of this name Elohim) to say but if he does it wil be used against him... so op have you seen what your KING ebuka has said.. grin

EBUKA you don spoil show for someone o.... why na... grin
Christianity Etc › Re: Iceland World Most Peaceful Country by uvalued(m): 7:20pm On Jul 27, 2016
Elohim1:
Go Up And Read My Every Post To Understand What I Mean!!

Who Said North Korea Was Better Than Ice Land??
was a question.. help us compare iceland vs north korea and give us yur candid verdict
Politics › Re: Buhari Rides The Newly Commissioned Train, Hails Back At Residents Who Hail Him by uvalued(m): 4:36am On Jul 27, 2016
nedu2000:
....with the residents many metres from him,na wa oh,signifies the distance between a govt and its people
hmm
Christianity Etc › Re: Iceland World Most Peaceful Country by uvalued(m): 4:22am On Jul 27, 2016
Elohim1:
Is Nigeria Better Than North Korea In Any Way?? When Last Did U Here Anything About North Korea In The News?? U Could Keep Believing The Lie They Feed U
ok just serve me the truth then... and are you not serving us lies of iceland been a fully athiestic country...so who is feeding you such lies...internet? cnn? your imagination? .... ok is north korea better than iceland?if no, why?
Christianity Etc › Re: Iceland World Most Peaceful Country by uvalued(m): 9:43pm On Jul 26, 2016
lol ebuka u really a king ... i enjoy your post and winner on athiest... nice to know that true athiestic stae north korea is really terrible...
Politics › Re: FG Records N1.064trn Half-year Revenue Shortfall by uvalued(m): 1:17am On Jul 26, 2016
NaijaMutant:
The difference between a Technocrat Okonjo
and a rookie adeosun is clear like 7up

If education is too expensive like (JONATHAN) try ignorance like (BUHARI)
naija.. once iys about buhari i just come and read comments .. and be amused
Christianity Etc › Re: Who Is Your Biblical Hero Or Heroine? by uvalued(m): 1:46pm On Jul 24, 2016
MadCow1:
King Solo all day..


That Nigga had 1000 bitches on lock down. grin grin grin




Realist Nigga all day everyday.
TRULY madcow
Christianity Etc › Re: Who Is Your Biblical Hero Or Heroine? by uvalued(m): 1:43pm On Jul 24, 2016
orisa37:
Mine: Jesus Christ. Reasons: He is the Job in humans, the Son of Man, the Son of God and The awesome God Himself.
others not my type.. bunch of human failing like so... but Him Yashua the only ONE!
Christianity Etc › Re: 5 Most Dangerous Consequences Of Disobeying GOD'S Word by uvalued(m): 1:31pm On Jul 24, 2016
when i read post like this, i wonder wherher the coming of Christ is of any meaning. what is the differnce between the commands of God and the muslim version of shariah... we are busy comparing and contrasting to see a better law to keep.. but for 1500yrs jews were under the law and none was a ble to keep it let alone perfect and we think we can keep it now under Christ when infact we are not honoring Christ at all... why must i keep ccold laws and not continually receive warm grace which supercede the law and has the power to keep me from sin...
Celebrities › Re: Twerking Videos Of Actress Destiny Etiko by uvalued(m): 9:10am On Jul 24, 2016
skitcentral:
Check out this hot popular star of Idemili, Enuma Ada Udi and others. Destiny Etiko is her name. Watch her dancing and performing below.


https://www.youtube.com/watch?v=ldx4v8JYzNY
wow see what maggot will enjoy in just a few minutes.. remember all will end like this dont salivate NOTHING

Education › Re: Lecturer Asks Students To Submit Notes!!! *pics* by uvalued(m): 9:01am On Jul 24, 2016
Richy4:
hmmmm!!!!! I was thinking it was a higher institution

<<<<He should ask u guys to carry out some research,

<<<< Write Term papers if he really wants to read,

<<<<< Do Presentations in front of the class using powerpoint or Charts.... each student will do the presentation for 5mins...That helps to build confidence in students and good grade could come out of it...

Not marking your notes...They have marked enough notes in primary school....this is a UNIVERSITY we are talking about here....
That was why no Nigerian institution made it up to 1000 in world ranking
yes
Phones › Re: Get 9GB On MTN With Just #2000 by uvalued(m): 9:09pm On Jul 23, 2016
elfakkawy:
I don't know what happened to that thread, but it seems like the SpamBots are drunk last night.

1st I advice that you shouldnt use it on a simcard which already has data in it.

Are sure you created a new APN using blackberryx.net?
yes i did and i also drained my data to 0 ... it will continue to try connecting but always fail.
Sports › Re: Nigeria U-20 Crash Out Of African Youth Championship After Home Defeat To Sudan by uvalued(m): 8:56pm On Jul 23, 2016
good next ..
Phones › Re: Get 9GB On MTN With Just #2000 by uvalued(m): 6:01pm On Jul 23, 2016
hi elfakkawy was following your etisalat tweakwaare.

i did as you posted but it relies on my data to connect and i have not seen any 6-7gb...any solution
Phones › Re: Reviewing The Latest MTN 7GB Data Plus 4GB Wow Bonus Data by uvalued(m): 5:41pm On Jul 23, 2016
habuchelsea:
The title might look catchy and i know you will be curious to know the body content, but believe me this is more a data bonus from MTN than you expected. In partnership with TechPlus MTN just unleashed another amazing data plan at the africa's biggest tech event in lagos-nigeria this week. Everyone knows that you can actually get 3.5GB for just N2000 as before, but that was not the case anymore. You can easily get 7GB of data at an affordable and acceptable price of just N2000 which will last for a month. One thing i love about this telco's is that when the competition is getting hot we tend to enjoy more bonuses and freebies like never before and iam still optimistic that in the long run we can buy 1GB of data for just N100, let's just pray for the economy to be settled.

Everyone on the MTN network can enjoy this offer irrespective of the tariff plan or data plan you subscribe to as long as you remain with the MTN, you are eligible to get your 7GB data offer for just N2000 and there is still more to it this weekend as it is explained below.

This data plan is an official data from MTN and it does not require any cheats or modification of your phone and it supports on all kind of devices ranging from Android to windows, iOS, symbian, java and others.

MTN is currently giving out a weekly bonus data of 1GB and 100MB respectively. If you load N200 and above you get 100MB free and if you recharge N500 and above you get 1GB free.

How to Get the Free 4GB data before the 7GB
Before you subscribe to MTN 7GB data for the N2000, buy the MTN recharge card in four denominations i.e. N500 x 4 which will give you N2000. Now load the N500 one by one, each N500 accompanies a bonus of 1GB which will accumulately give you 4GB of data respectively. I realize many bloggers speculating of just getting 2GB of data without knowing actually you can get 4GB because each N500 is 1GB, the only toughest part is to make sure there is MTN N500 recharge card in your location.

Take note that the 4GB data bonus works only on weekend and expires on sunday 11:59AM and it will be utilised first before the 7GB data. to check the data balance just dial *556#.

Now i hope with the Above hint you can easily get your 4GB data bonus this weekend and subsequent weeks to come, now lets see how can get your 7GB data for just N2000 to make up your 11GB this week.

How to Subscribe for MTN 7GB for N2000
To subscribe for MTN 7GB for N2000 simply sms 2016 to 131 and you will be credited with 7GB on techplus 100% dealzone data which will last you for a month.

to check the data balance just dial *131*4#

After getting the 7GB data plus the above 4GB wowweekend bonus data, you actually get 11GB for downloading and streaming with many more.

Source: http://www.wikiban.com/2016/07/get-mtn-7gb-for-n2000-plus-4gb-wow-bonus.html
Events › Re: Kano Women Register For Mass Wedding (photo) by uvalued(m): 5:18pm On Jul 23, 2016
kings09:
Dem de much oo but no youngy thr undecided
I noticed that... the young ones are absent.. means they are been chased by young bloods... hope this old mums are not looking for fresh blood ko
Politics › Re: Federal Roads: FG Begs States To Take Over by uvalued(m): 10:45am On Jul 21, 2016
angels09:
But the FG can take over the resources of the States.
gbam! land grazing reserve is fg concen but roads should be handled by state... i think fg should consider true federalism so that regions or states handle its esources...on anothe thought is it fg way o technically keying ino true federalism
Education › Re: A Maths Teacher Asked To Teach English Language.... by uvalued(m): 10:34am On Jul 21, 2016
lol hope we have an english teacher to teach maths..calculus maybe

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