₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,573 members, 8,446,089 topics. Date: Thursday, 16 July 2026 at 05:42 AM

Toggle theme

DualCore1's Posts

Nairaland ForumDualCore1's ProfileDualCore1's Posts

1 2 3 4 5 6 7 8 ... 80 81 82 83 84 85 86 87 88 (of 371 pages)

ComputersRe: Mtn's New Internet Bundle Tariffs by DualCore1: 6:57pm On Sep 23, 2010
Kaki P:
None sense! can't they give us a plan without having to watch the amount of bytes we use.
Stingy mothersuckers!! huh huh huh
The question is: Can you pay for such a plan?
WebmastersRe: Get A Complete Website today by DualCore1: 5:53pm On Sep 23, 2010
^^ This thing isnt for faint hearts.
Criticism gives anyone the right to say anything anyhow. It is left to the person being criticized to decide how the criticism will affect him.

Biscomedia has decided to learn and be better because of the things that have been said here.
Some faint hearted fellow will see these same words and swear never to go near web design again.
WebmastersRe: Get A Complete Website today by DualCore1: 5:21pm On Sep 23, 2010
biscomedia:
@ Quadrillo, i am designing something better and learning more,

thanks man.
If you need help with anything, do not hesitate to ask.
WebmastersRe: Login Scripts Works Locally But Not Online. by DualCore1: 1:42pm On Sep 23, 2010
make use of die() at different levels to know where u arr stuck. check ur database settings. check the hostname where ur host's mysql server runs.
WebmastersRe: Do You Turn Javascript Off? by DualCore1: 11:04am On Sep 23, 2010
I turn JS off for reasons such as this
WebmastersRe: Free Hosting From Internet Visa by DualCore1: 10:21am On Sep 23, 2010
Make una no just think am to fight hia cuz i promise two of una, your servers will start showing Error 502.
WebmastersRe: Free Hosting From Internet Visa by DualCore1: 9:32am On Sep 23, 2010
Oga LagosHost, Internet Visa may have to get a court to issue you a restraining order o. The way you dey take trail the guy and him promo threads, free him naw! tongue
WebmastersRe: [mod]Sorry Slyr0x, You've Lost Your Forum Posting Privileges[/mod] by DualCore1: 8:54am On Sep 23, 2010
1+=
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 8:52am On Sep 23, 2010
^^ Na you know where you go o! If you were online it wouldn't have taken the whole evening. I IM'd you and your ID went offline tongue, at that point I knew this was an OYO situation I was getting into.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 8:26am On Sep 23, 2010
Perfect. This will work too.
Thanks for your time and brain juice smiley

Yawa thanks for stopping by also.

Funny thing is, during planning and analysis I estimated to do this in 20 minutes. 20 minutes turned to a whole evening.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 9:07pm On Sep 22, 2010
[quote author=yawa-ti-de link=topic=518167.msg6803175#msg6803175 date=1285184549]Again, I guess I am missing something.[/quote]Your guess is as good as mine. Cant explain but i dont think that wont have worked for what I am doing.

If you translate your sentences into pseudo-codes maybe it will aid understanding.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 7:38pm On Sep 22, 2010
Here's what I have done


I have changed the naming pattern for the radio groups
while($row = mysql_fetch_array($result)){
$db_stuff1[] = $row['stuff1'];
$db_stuff2[] = $row['stuff2'];
$db_stuff3[] = $row['stuff3'];
$db_event_id[] = $row['event_id'];

}

$event_count = count($db_event_id);

for($i=0; $i < $event_count; $i++){
echo'<tr>

<td><input type="radio" name="item_'.$db_event_id[$i].'" value="stuff1" checked="checked">'.$db_stuff1[$i].'</br></td>
<td><input type="radio" name="item_'.$db_event_id[$i].'" value="stuff2">'.$db_stuff2[$i].'</br></td>
<td><input type="radio" name="item_'.$db_event_id[$i].'" value="stuff3">'.$db_stuff3[$i].'</br></td>
</tr>';

}


<input type = "submit" value = "submit" name = "submit" id = "submit" />

When the form is submitted, I run it through a loop to get the value and go on to do what i want with the value gotten.

for($i = 1; $i < 50; $i++){
if(isset($_POST["item_$i"])){
if($_POST["item_$i"] == "stuff1"wink{
//do something
}
if($_POST["item_$i"] == "stuff2"wink{
//do something
}
if($_POST["item_$i"] == "stuff3"wink{
//do something
}


}

}


/hope this is helpful for someone else someday. Chukxy, thank you.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 7:29pm On Sep 22, 2010
You're good, I was about updating this thread saying I had solved it and I saw your solution and its the same principle.

I got the solution from
http://stackoverflow.com/questions/1656260/php-multiple-radio-buttons
its similar to what i have in mind although i need to add a few things

Your solution may not really fit what I want it for as everything is dynamic, even the name of the radio groups. If I use urs, I may end up getting\

<input type = "radio" name = "food[1]" value="stuff1" checked="checked">rice</br>
<input type = "radio" name = "food[2]" value="stuff2">beans</br>
<input type = "radio" name = "food[3]" value="stuff3">Pop Corn</br>

<input type = "radio" name = "food[4]" value="stuff10" checked="checked">flat</br>
<input type = "radio" name = "food[5]" value="stuff2">pointed</br>
<input type = "radio" name = "food[6]" value="stuff3">tiny</br>

<input type = "radio" name = "food[7]" value="stuff25" checked="checked">nokia</br>
<input type = "radio" name = "food[8]" value="stuff2">iphone</br>
<input type = "radio" name = "food[9]" value="stuff3">china phone</br>

But for you to think this up, you're good.

Hat down for you.
Thanks for your time.

I will post my code when I finish writing it but its no different from yours in principle.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 6:21pm On Sep 22, 2010
Bro I don answer na, this thing is scattering my dada angry
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 5:43pm On Sep 22, 2010
chukxy:
Is it the point you want to retrieve the value of selected radio button from the group?
yes retrieve value of selected button from each group. There are three groups there. Please note that they are generated dynamically based on the value of $event_count.


chukxy:
Or is it the part you want to assign value to radio button with database result?
No, that is what I have done already using the WHILE and FOR loop.
WebmastersRe: Very Easy Html/php Quiz :) by DualCore1(op): 5:11pm On Sep 22, 2010
Update: A lady actually told me to take a walk and come back to this later.

I didnt take a walk but i went to do some domestic stuff to clear my head. Then I thought of something. . . Javascript!

Ok, so I am going to try to use Javascript as the bridge somehow.

Will update this thread if it works or not.


chukxy:
Hi Dual Core , I don't think is complex as such, just throw more light on what you set to achieve, let me see what I can do.
I dont mean to stress u too much but can you ask questions as to where isnt very clear?
WebmastersVery Easy Html/php Quiz :) by DualCore1(op): 4:07pm On Sep 22, 2010
Well, for me this no be quiz na bug.  angry

I'm working on something very complex but I have simplified part of it to pure html and php

lets say i have the following PHP code

//i have used select statement to get some data from the mysql database and its result is what i have put in $result.

while($row = mysql_fetch_array($result)){
$db_stuff1[] = $row['stuff1'];
$db_stuff2[] = $row['stuff2'];
$db_stuff3[] = $row['stuff3'];
$db_event_id[] = $row['event_id'];

}

$event_count = count($db_event_id);

for($i=0; $i < $event_count; $i++){
echo'<tr>

<td><input type="radio" name="'.$db_event_id[$i].'" value="stuff1" checked="checked">'.$db_stuff1[$i].'</br></td>
<td><input type="radio" name="'.$db_event_id[$i].'" value="stuff2">'.$db_stuff2[$i].'</br></td>
<td><input type="radio" name="'.$db_event_id[$i].'"  value="stuff3">'.$db_stuff3[$i].'</br></td>
</tr>';

}



lets assume this loop goes through 3 iterations.

the html source code will look like so:

<input type = "radio" name = "food" value="stuff1" checked="checked">rice</br>
<input type = "radio" name = "food" value="stuff2">beans</br>
<input type = "radio" name = "food" value="stuff3">Pop Corn</br>

<input type = "radio" name = "type" value="stuff1" checked="checked">flat</br>
<input type = "radio" name = "type" value="stuff2">pointed</br>
<input type = "radio" name = "type" value="stuff3">tiny</br>

<input type = "radio" name = "make" value="stuff1" checked="checked">nokia</br>
<input type = "radio" name = "make" value="stuff2">iphone</br>
<input type = "radio" name = "make" value="stuff3">china phone</br>

<input type = "submit" value = "submit" name = "submit" id = "submit" />




Hoping you understand to this point. What I want done is. . . what is it sef?
Ok, what I want is not straightforward at all but let me get it down to one question.\

How do you get the values of multiple radio button groups parsed to php. Note, they are dynamically generated. If this was static it would be $var  = $_POST['make']; or $var  = $_POST['type']; e.t.c


I am praying one mad geek understands this whole thing and wont ask me to explain further.

If you need further explanation on any part of this thing please ask questions.

For the first time ever, google has failed  grin
or na me don run out of search keywords  angry
WebmastersRe: Pls Teach Me Web Design And Development. by DualCore1: 6:46am On Sep 22, 2010
ok bro. my bad. tot u were some rich spoiled kod who felt everything can be gotten, just cuz there's money. wasnt focusing ln ur saying no to vid tutorials. i dont see thr efectivrness of videos over ebooks in this field.
WebmastersRe: Pls Teach Me Web Design And Development. by DualCore1: 9:39pm On Sep 21, 2010
Donpuzo:
By the way bro, i am facing some security threats on my site, anything that can be done should please be done to assist! You know what i mean!
If any assistance is needed you know how to ask. wink
Saw your security thread but didnt know what it was about.

As per my post here, the poster has the wrong all-it-takes-to-learn-this-thing-is-money mindset and it will lead him no where.
WebmastersRe: Get A Complete Website today by DualCore1: 9:10pm On Sep 21, 2010
Dear lord, may I never have cause to land into the hands of these wicked men. Chei see as dem finish person.

Quad, you fit make this guy uninstall dreamweaver and delete him D:\templates folder sey him no do again.
WebmastersRe: If You Are A Web Designer Or Programmer Lets Talk by DualCore1: 9:05pm On Sep 21, 2010
[quote author=*dhtml link=topic=514187.msg6786874#msg6786874 date=1284989824]Sorry afrobabe, i ave been very busy with my other babes, how you doing? i did not forget about you anyway, just let me know when you are ready for your next web review.[/quote]angry
WebmastersRe: Pls Teach Me Web Design And Development. by DualCore1: 9:02pm On Sep 21, 2010
[quote author=i-Guru link=topic=517500.msg6795065#msg6795065 date=1285090013]Sorry i dont need a video tutorial.
Am ready 2 pay![/quote]Your mindset is faulty. The above statment alone will make me say a big NO if I was given the mandate to teach you anything.
If you opt for donpuzo's lectures, he should help you fix that mindset in your first class.


P.S: For others out there with a different mindset to learning, check out w3schools.com. Do you know the beauty of this profession? Its DIY, it doesn't NEED your money. smiley
WebmastersRe: Website Review: Wheelers-MC.com by DualCore1: 8:56pm On Sep 21, 2010
Farriel:
Rider should flow into halo in what sense? Seeing him through the halo background?
Its nothing really, just some graphic effect.

The background in the header and top part of the "halo" div flow together. Its like one piece.

Everything is fine until you get to the rider who is unfairly cut at the halo "div". I am suggesting having a continuation of that rider's body on the Halo div so that it flows. I dunno the right terms to use but hope you understand a bit. As I said, its just some nonsense graphic effect that wont cost any rider a bike if its not done.
WebmastersRe: Website Review: Wheelers-MC.com by DualCore1: 7:55pm On Sep 21, 2010
Looks good. Like the dark aura. The orange in the facebook/tweeter area is shouting its way outta the site's theme in my opinion.

The rider in the 'branding-image' div should flow into "halo" div.

Center the footer or add a 6th column with some content. As it is now, you are leaving the bottom-right weight of the site to rest on "Site by McNeil".
WebmastersRe: How Do I Creat A Different Index Page For Computer Users And Mobile Phone Users by DualCore1: 2:31pm On Sep 18, 2010
HTML wasnt built for such
Nairaland GeneralRe: Seun: Create An Administrator Feedback Section by DualCore1: 12:46pm On Sep 18, 2010
wink
Nairaland GeneralRe: Seun: Create An Administrator Feedback Section by DualCore1: 10:11am On Sep 18, 2010
There is a feedback section somewhere on a site which deals with complaints. I cannot remember the URL but I think the URL can be seen in the ban message you see at the top, when logged in from the banned account.
PhonesRe: Nokia Introduces C6, C7 And E7: Nokia Strikes Back! by DualCore1: 2:40pm On Sep 16, 2010
sherrep u dnt have money to by the fone or meego. bro how far u? y are u dulling?

1 2 3 4 5 6 7 8 ... 80 81 82 83 84 85 86 87 88 (of 371 pages)