![]() ![]() I spent hours and hours of my weekend watching an young Valentino Rossi skid with his Yamaha first and then Ducati, and Micheal Schumacher overtakes by a lap all the other Formula 1 drivers aboard his red Ferrari. The problem with the code below is that when you click on the expand button it expands in all the boxes, not just the one you are clicking in.Whether you live in Europe, in the United States or in any other part of the world, I am sure that you have had the opportunity to see a race at least once in your life. Within that box I am providing the opportunity to open another box with further content inside. I am taking the output for every title in my Database and displaying it in a box. How can you make it only repeat the users name who registered, not everyone? Login to begin to play.Congratulations! tony is now the proud new owner of a account. Login to begin to play.Congratulations! tonyh is now the proud new owner of a account. You've been successfully registered!Congratulations! tonyhh is now the proud new owner of a account. $activationKey = some reason, when the person is registered it shows everyones name who registered, for example. This is the email verification script im using. Mainlink 3 : **no result back but it should * Mainlink2 : **no result back but it should * RESULTS from an sorted array -> sort($linksuborder) > First mainlink is compleet, now go to row linkid 3 to do it all over again for the next mainlink. > get the details from row linkid 9, than 7, than 8 > than we put the numbers 9,8,7 (also row id's) mentioned in row linkid 2 also in a new array I have put many echo "." and other stuff for checking but can't find the cause !įor ($n = 0 $n linksuborder 2,3,4 are the row id's for the mainlink It is giving me back indeed the right new rowid number, but the WHILE loop is doing nothing. Why doesn't the WHILE loop begin again from his row 1 in the variable ?Ģ) even when I get all the result in an ascending order, he won't go doing a second search but with a different rowid number that he gets from the FOR loop. ![]() > so the order of the numbers of rows MUST be in an ascending order, ortherwise he won't find them all ! But the numbers I have are NOT in an ascending order !!! He start at row number 6 instead of beginning all over again !!! Now it seem that the WHILE loop start searching for number 2 but won't start from his first row in the variable (10 rows from the db ). He goes out of the WHILE loop and goes searching again but now for rowid number 2 He needs to search for rowid number 5, he found it When first time, he's gonna search within the WHILE loop that holds (for example) 10 records of the DB in a variable. (needs to find 3 results withing the loop with if and else) Script about links and sublinks from 1 table.ġ) In the FOR loop I have for example to do the loop 3 times. Any advice you can offer is greatly appreciated. I've tried setting 'set_time_limit(0)' before the sleep call but that didn't help. I know there's not a huge amount of info there but based on performance figures above, is there something fundamental/trivial I'm missing or doing? Are there any known issues with the sleep methods? The sleep method used is "usleep" and I've also tried "time_nanosleep". The performance for the same test of 200 clients * 100 cycles produces 55 CAPS which is a huge drop in performance based on 150 millisecond delay. The problem arises when I introduce a "sleep" into the php code for 150 milliseconds, which is my basic idea of introducing latency to the system. The test is 200 clients requesting the same url for 100 cycles. The simple performance figures are taken from curl-loader and show 400 CAPS (Call Attempts Per Second). It all works fine and it's quite performant based on a simple curl-loader test. The whole script is just a large switch statement that does some matching against the request strings and returns a template rendered by Tenjin. I basically have a php script running with nginx and fast_cgi. I'm new to PHP and I'm probably making a fundamental mistake somewhere, however, enough time wasted, I thought you might be able to shed some light on my problem. Right now I am using javascript to display a count down and the download link is in a hidden div and I wanted to have a time in php when the user goes to the page the timer starts and then echos the download link instead it being visible in the source code.ĭocument.getElementById("hid").style.visibility = "visible" I have a download page for my website and I tried using sleep to delay before the user can download an item.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |