8,966 Posted Topics
Re: If both your js file and jquery are linked in your page, then this code will execute automatically when the page is done loading. | |
Re: [code=pascal] const myarray: array [0..9] of Integer = (10, 20, 30, 40, 50, 60, 70, 80, 90, 100); begin Randomize; Writeln(myarray[Random(10)]); end; [/code] | |
| |
Re: [url]http://en.wikipedia.org/wiki/Cloud_computing[/url] | |
Re: Insert a date in this format: [iCODE]'yyyy-mm-dd'[/iCODE] | |
Re: 10060 means a connection time-out. This can be caused by a lot of things. As far as I can tell, you gmail settings are correct. Perhaps the domain has been blocked, or port 465, hard to tell. | |
Re: 1. Create and improve (parts of) our software package. 2. You need to be analytical and logical. 3. Although I wouldn't mind stating it, it really depends on your region and experience, I doubt you have any use in knowing that. 4. Don't know what's best. I have a bsc … | |
Re: If you create a separate table for manufacturers, wrappers, etc. then it is possible to retrieve everything with a single query. It may be possible now if I look into it, but it is not the most ideal situation. | |
Re: Actually, you are using double quotes in your query. You should use single quotes instead. So swap all of them. | |
Re: [url]http://www.appdev.com/promo/freetrain.asp?PC=WR00127&T=d%5FSSQL[/url] | |
Re: IIRC you need to add the AjaxControlToolkit to your web.config I can't remember if it is required to add a DLL to your project. | |
Re: I think you should read the record, parse it in Delphi, and then read the other table. If you're connecting to mysql and the record had been separated by a comma instead of a space, then you could've used FIND_IN_SET(). | |
Re: I think that depends on (the configuration of) your barcode scanner. Most I used were set to simulate keyboard input. | |
Re: [iCODE]auto[/iCODE] is set to [iCODE]false[/iCODE] after clicking a button. You can set it to [iCODE]true[/iCODE] again. | |
Re: It is still the same as smantscheff said, only you have a lot of points per species. Do you have code already ? Is your species page up and running, did you try to add a map already? There are some samples in this forum from last month about google … | |
Re: ParamStr(0) | |
Re: What you need is a (server-side) script that will turn your latest articles (from your database) into an (RSS feed) XML file. The resulting file can then be added to a feedreader, which checks regularly if there are updates to this file. How did you make your site ? Did … | |
Re: [url]http://code.google.com/apis/maps/documentation/javascript/overlays.html[/url] See the polygons examples. | |
Re: - You type your code in a text editor. - Wamp server contains Apache already, so no need to install it again. - phpMyAdmin is a tool for managing mySql databases. Perhaps you best start with this [URL="http://w3schools.com/php/default.asp"]PHP tutorial[/URL]. | |
Re: [code] $update = mysql_query("UPDATE resume SET name='{$_POST['name']}', age='{$_POST['age']}', sex='{$_POST['sex']}', mobile='{$_POST['mobile']}' WHERE id={$_POST['id']}"); [/code] It is dangerous to insert $_POST'ed values without checking. | |
Re: Show your html/php code that handles the dropdown. Perhaps you forgot some quotes. | |
| |
Re: You can add Google Analytics (or any other tracking tool of course) to your site. I found this to be an [URL="http://sebastians-pamphlets.com/the-anatomy-of-http-redirects-301-302-307/"]interesting article[/URL] on redirecting. | |
Re: [code] $query = mysql_query("SELECT userId, quizTitle, addDate FROM quiz WHERE managerId='".$userid."' AND egroup = '$egroup5' AND passState = 1 ORDER BY userId"); $name = ''; while ($row = mysql_fetch_array($query)) { $userId = $row['userId']; $quizTitle = $row['quizTitle']; $addDate = $row['addDate']; ?> <table> <tr> <td><?php if ($userId <> $name) { echo $userId; … | |
Re: Taken from: [url]http://www.crucialp.com/resources/tutorials/server-administration/optimize-tweak-high-traffic-servers-apache-load.php[/url] "Limit total processes with MaxClients: ... Use trial & error to figure out how many Apache processes your server can handle, and set this value in MaxClients. Note: the Apache docs on this are misleading - if this limit is reached, clients are not "locked out", they … | |
Re: It does now. I didn't see it the first time either, and my browser's caching is off. | |
Re: The problem is that the query fails. Change line 23 to the following: [code] $result = mysql_query($sql) or die(mysql_error()); [/code] If you want to trap any error you can also change line 26 into this: [code] if ($result) $count = mysql_num_rows($result); else $count = 0; [/code] | |
Re: What does [iCODE]$_GET['page'][/iCODE] look like? If you use a separator then you can use [iCODE]explode()[/iCODE] to separate it. | |
Re: Something like this: [url]http://docs.jquery.com/UI/Autocomplete[/url] | |
Re: View the source code for the page. You'll see it was done with jQuery. All the code is there... | |
Re: Your pagination uses [iCODE]swords[/iCODE] to pass a page number, but you try to read it as the search word. | |
Re: What are you after, the structure of a large database, or actual data? If it is the latter you're after, I'm sure you're not going to get it from anyone. | |
| |
Re: Not sure what you are returning, but maybe a JSON response can do the trick. Apart from that: every second a refresh ? Is the data different each time, or are you just stress testing your server ? | |
Re: Can't you just put an if statement around your foreach ? Something like: [code] if ($babies) { foreach ($babies as $baby) { echo $baby['name'] . ' and ' . $baby['parents'] . '<br/>'; } } else { echo 'No results.<br/>'; } [/code] | |
Re: If you really want to know in detail, profile it. Add timing functions and run them a couple of thousand times. [ICODE]GetCursorPos[/ICODE] is a windows call. [ICODE]Mouse.CursorPos[/ICODE] is a VCL wrapper that calls a method that calls [ICODE]GetCursorPos[/ICODE]. So in theory the former is always faster. | |
Re: I have [URL="http://www.pritaeas.net/view/articles/portfolio-with-jquery"]this demo[/URL] which fades an image with text. Although it does not have your arrows, perhaps it can get you started. | |
Re: It depends on your source. Importing an SQL file is probably the fastest as it requires no parsing. You can also import from CSV. If your source is a table, you can just copy it in with a query (provided you can connect to both). | |
Re: Personally I prefer to reuse a TQuery. You could create an array of strings containing all you queries and execute them in a loop using one TQuery. | |
Re: It is one way. There are a lot of possibilities if you haven't selected a server yet. Otherwise you'll have to do with what your server supports. In my opinion php is one of the easier ways to get started. ![]() | |
Re: What is the problem with the 11th button ? | |
Re: Why don't you just look at the code of that site, using browser debug tools. | |
Re: Can you perhaps make a separate test page on your site, containing only the dropdowns ? This will be a lot easier for us to test. Anyway, the problem may be that you use the same code for all three select's. | |
Re: PHP runs on the server, it cannot print on the user's PC. | |
Re: What problem are you having exactly ? Perhaps you could make a smaller example that isolates your problem. Maybe [URL="http://www.daniweb.com/forums/thread236229.html"]this thread[/URL] can be of help. | |
Re: Looks like the mssql module is not activated in your php.ini | |
Re: Not sure about the better part, but the AddHandler was made for this (telling Apache what to do with a certain file). |
The End.