DualCore1's Posts
Nairaland Forum › DualCore1's Profile › DualCore1's Posts
1 2 3 4 5 6 7 8 ... 80 81 82 83 84 85 86 87 88 (of 371 pages)
Kaki P:The question is: Can you pay for such a plan? |
^^ 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. |
biscomedia:If you need help with anything, do not hesitate to ask. |
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. |
I turn JS off for reasons such as this |
Make una no just think am to fight hia cuz i promise two of una, your servers will start showing Error 502. |
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! ![]() |
1+= |
^^ 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 , at that point I knew this was an OYO situation I was getting into. |
Perfect. This will work too. Thanks for your time and brain juice ![]() 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. |
[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. |
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" {//do something } if($_POST["item_$i"] == "stuff2" {//do something } if($_POST["item_$i"] == "stuff3" {//do something } } } /hope this is helpful for someone else someday. Chukxy, thank you. |
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. |
Bro I don answer na, this thing is scattering my dada ![]() |
chukxy: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:No, that is what I have done already using the WHILE and FOR loop. |
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:I dont mean to stress u too much but can you ask questions as to where isnt very clear? |
Well, for me this no be quiz na bug. ![]() 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 ![]() or na me don run out of search keywords ![]() |
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. |
Donpuzo:If any assistance is needed you know how to ask. ![]() 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. |
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. |
[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] ![]() |
[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. ![]() |
Farriel: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. |
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". |
HTML wasnt built for such |
![]() |
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. |
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)


{
