Member Avatar
I have this function: ... *(This function is passed as an argument, hence no name) * I want a progress bar to be shown, showing how many of the 'n' requests have returned. The page the request is POSTing to may take some time (5ish seconds) to respond, and the …
by fheppell in Web Development ()
Member Avatar
TLDR: When large amounts of files (array values) are in the array, the loop will iterate through all the values but only execute part of the foreach statement for some of them. When that happens, it will always affect the same files (in file order, not file name). Detailed version: …
by Jaklins in Web Development ()
Member Avatar
Hi, I would like to loop the data-attribute to contain all column names and values from a mysql table. This is what it looks like today: So some kind of magic :) loop inside there so I don't have to write all the column names manually. Is this possible? Cheers! …
by adishardis in Web Development ()
Member Avatar
Im having a problem using foreach i cant seem to understand this yet. my problem is when i enter all the data needed it shows many inserting code I cant seem to figure this out This is the Output This is the code any help would be helpful
by joshuajames.delacruz in Web Development ()
Member Avatar
how to display this array.i tried sevaral way.does not working.
by arafath077 in Web Development ()
Member Avatar
i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance.
by net4earning in Web Development ()
Member Avatar
i keep getting a error on the next page saying that hotel1 is an undefined index: page 1: page 2: can someone tell me what i am missing or if im doing this wrong?
by CreatorZeus in Web Development ()
Member Avatar
So I actually posted this in the C# section, but despite peoples best efforts, all all the help there, the problem is still not solved. Background: Im making a game in xna/c# (Who isnt these days). For collision detection, I though I would use rectangles and lists. My thought process …
by CJMW 5 in Game Development ()
Member Avatar
I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a problem but this one seems tricky. If impossible then please suggest something else instead. TNX
by castajiz_2 35 in Software Development ()
Member Avatar
i am trying to get all the result from my databse table but this query is not working. it gives me a error :
by AvikB in Web Development ()
Member Avatar
index.php coding store.php coding here i stored some values to mysql db using an array. i used dynamic rows so i used an array for store the values into database. now i want to fetch the values from mysql db. how can i do that using foreach?? in this database …
by Indians in Web Development ()
Member Avatar
Hey guys, I'm having difficulties with a problem. I iterate over an array of data with X rows And i have the positions of each row incremented, i would like that when i found an exception i shift all the position id's so after each exception the next ID has …
by Szabi Zsoldos 26 in Web Development ()
Member Avatar
Hi Everyone... I have been digging around the web for the last two days trying to fix this problem myself, but have come to the realization that I need some help. I have a mysql query that selects all country names from my country db, (works as described) I then …
by everton.retweets in Web Development ()
Member Avatar
I have the following: in my MODEL: in my CONTROLLER: in my VIEW: I dont understand why I'm getting the error: even though displays that it is and when I change to I get Can some one please help me? I cant seem to find my error and its starting …
by renierdbruyn 14 in Web Development ()
Member Avatar
am trying to show assigned variable for failed submission on a smarty form. array assigned as and on tpl form, i added as below. am starting the counter from 1 because this is for dynamically added from jquery, hence am skipping the {$no[0]} from the above input. But when form …
by sammry -3 in Web Development ()
Member Avatar
Okay i have 2 variable named bid price and offer price . I need to fill in the values into the variables through cases. For each row of data ,i want to retrieve the rates for the currency pairs (eg. eur/usd,audusd) . I have 2 values for each currency for …
by nigelhow in Web Development ()
Member Avatar
Kill me now! I have two tables in my DB. One has a list of certifications and one has a list of exam boards. I need to list the exam boards in a foreach loop giving each one an accordion. The certifications must be listed under their correct exam board. …
by mmcdonald 28 in Web Development ()
Member Avatar
Hello everyone, I have a search form that i am working on, and I have a huge array of checkboxes that I am using so people can refine the search down to just 1 or 2 things if they want to. In the search.php page, i have an implode function …
by patk570 1 in Web Development ()
Member Avatar
Is it possible to iterate using foreach loop on multiple groupBox. I have 6 GroupBox named as gBox1,gBox2,gBox3,gBox4,gBox5,gBox6 AND each gBox contain 21 ComboBox named as slot1,slot2,slot3,slot4,slot5.... so on out of which I want to select only 7 comboBoxes for operation. For eaxmple if user enter 2 in textbox then …
by vishalonne 12 in Software Development ()
Member Avatar
I'm dealing with a SOAP client response for a flight booking application, I successfully got the response, See the response below: Now i have to display them as : Base Price: 4850 Tax: 31 STax: 31 SCharge: 0 TDiscount: 0 TPartnerCommission: 0 ..................... Arrival Airport Code: DEL ..................... I tried …
by rayidi 3 in Web Development ()
Member Avatar
Hi guys, I'm hoping you can help me find a more elegant solution to my query inside a foreach loop. Here is the loop in question: the problem is that the query relies on the value of each "Category" row in the dt_blah table. I have ran the query as …
by while(!success) in Software Development ()
Member Avatar
Hi, I'm transferring data from one table to another and one of the fields is an email field. I would like to check if the emailfield is empty or otherwise faulty and skip that record if it is. This is how it looks at the moment but it's problamatic since …
by adishardis in Web Development ()
Member Avatar
Hi, I use this script to extract and insert the desired variables to mysql.It does the job. The problem I have is that the xml can contain several application-array and I need to insert the application-date and application-type from the most recent application-array. This is what the xml looks like. …
by adishardis in Web Development ()
Member Avatar
I am getting the error message "Invalid argument supplied for foreach()". I can't see to figure out what. Below is my query. Is there something I'm missing? Thanks
by joshmac in Web Development ()
Member Avatar
Could you help me solve the problem The code bellow locate the image path just in "image1" Something like this id image1 image2 image3 image4 image5 image6 1 pic1 2 pic2 but I need to get something like this id image1 image2 image3 image4 image5 image6 1 pic1 pic2 pic2 …
by streamland in Web Development ()
Member Avatar
I can't seem to wrap my head around this. I'll need a seasoned programmer to push in the right direction. I have a listView with 7 sub items. What I'm looking to do is populate a table in an .mdb file with the data. The listView box is almost the …
by tet3828 in Software Development ()
Member Avatar
I'd like to search this before asking a question but I'm not sure exactly what to search for. Posting for help is always a last resort for me. What I'd like to find is I think it's called a loop? or foreach? I think.. What I want to do is …
by SeanKann in Web Development ()
Member Avatar
Hello, I was working on some code, when I ran into this: foreach ($products as $product). One problem, it was not defined. How could this be? Here is the book I got it from: . It is on 161-163. I don't understand where the $product came from. And one more …
by vivosmith 27 in Web Development ()
Member Avatar
Hey all. All I need is to collect every from where and then cycle the results in a loop right until the end for each individual id. (I've written this on daniweb, might be typo's or errors. I'm not interested in code errors it's the process itself) so... What I …
by mmcdonald 28 in Web Development ()
Member Avatar
Hi guys, I'm working on a little script that generates all combinations of a given input string. My problem is, it's generating the combinations perfectly fine (I checked with an echo), but not inserting them in to an array. Here is my code: For some reason, if I add an …
by HelloJarvis in Web Development ()