8,966 Posted Topics

Member Avatar for blackxswil

If both your js file and jquery are linked in your page, then this code will execute automatically when the page is done loading.

Member Avatar for blackxswil
0
94
Member Avatar for Dannyo329
Member Avatar for killhha

[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]

Member Avatar for pritaeas
0
4K
Member Avatar for cliffcc
Member Avatar for avi4ya
Member Avatar for ddellostritto
Member Avatar for ddellostritto
0
165
Member Avatar for ayesha789

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.

Member Avatar for ayesha789
0
2K
Member Avatar for JakeM11

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 …

Member Avatar for pritaeas
0
209
Member Avatar for jrotunda85

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.

Member Avatar for smantscheff
0
2K
Member Avatar for ruchit

Actually, you are using double quotes in your query. You should use single quotes instead. So swap all of them.

Member Avatar for pritaeas
0
76
Member Avatar for deecoup

[url]http://www.appdev.com/promo/freetrain.asp?PC=WR00127&T=d%5FSSQL[/url]

Member Avatar for pritaeas
0
107
Member Avatar for erum

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.

Member Avatar for erum
0
68
Member Avatar for Planetdune

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().

Member Avatar for pritaeas
0
162
Member Avatar for veledrom

I think that depends on (the configuration of) your barcode scanner. Most I used were set to simulate keyboard input.

Member Avatar for pritaeas
0
91
Member Avatar for benjaminFowl87

[iCODE]auto[/iCODE] is set to [iCODE]false[/iCODE] after clicking a button. You can set it to [iCODE]true[/iCODE] again.

Member Avatar for benjaminFowl87
0
350
Member Avatar for ridzii

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 …

Member Avatar for pritaeas
0
154
Member Avatar for tucode
Member Avatar for al2henry

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 …

Member Avatar for al2henry
0
267
Member Avatar for tom_benton

[url]http://code.google.com/apis/maps/documentation/javascript/overlays.html[/url] See the polygons examples.

Member Avatar for faico
0
118
Member Avatar for ridzii

- 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].

Member Avatar for Progr4mmer
0
212
Member Avatar for luweegee

[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.

Member Avatar for luweegee
0
157
Member Avatar for puvi

Show your html/php code that handles the dropdown. Perhaps you forgot some quotes.

Member Avatar for puvi
0
125
Member Avatar for ctkam
Member Avatar for jrhitokiri

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.

Member Avatar for maryparker
0
136
Member Avatar for facarroll

[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; …

Member Avatar for facarroll
0
138
Member Avatar for Acute

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 …

Member Avatar for pritaeas
0
103
Member Avatar for six_sic6

It does now. I didn't see it the first time either, and my browser's caching is off.

Member Avatar for Dani
0
135
Member Avatar for holmiboii

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]

Member Avatar for holmiboii
0
236
Member Avatar for six_sic6

What does [iCODE]$_GET['page'][/iCODE] look like? If you use a separator then you can use [iCODE]explode()[/iCODE] to separate it.

Member Avatar for pritaeas
0
2K
Member Avatar for ypks_destiny
Member Avatar for pritaeas
0
825
Member Avatar for NutanGadakh

View the source code for the page. You'll see it was done with jQuery. All the code is there...

Member Avatar for pritaeas
0
148
Member Avatar for yamot47

Your pagination uses [iCODE]swords[/iCODE] to pass a page number, but you try to read it as the search word.

Member Avatar for yamot47
0
140
Member Avatar for newgeekintown

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.

Member Avatar for debasisdas
0
87
Member Avatar for JacobBruce
Member Avatar for jaydeebee84

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 ?

Member Avatar for jaydeebee84
0
144
Member Avatar for tape enterprise

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]

Member Avatar for pritaeas
0
116
Member Avatar for JacobBruce

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.

Member Avatar for pritaeas
0
317
Member Avatar for skald89

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.

Member Avatar for pritaeas
0
165
Member Avatar for printman55

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).

Member Avatar for smantscheff
0
282
Member Avatar for Maggy0426

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.

Member Avatar for Maggy0426
0
211
Member Avatar for RobMan2000
Member Avatar for emma123

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.

Member Avatar for diafol
0
158
Member Avatar for MarkHolm
Member Avatar for elneco

Why don't you just look at the code of that site, using browser debug tools.

Member Avatar for pritaeas
0
133
Member Avatar for somedude3488
Member Avatar for Nathan666

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.

Member Avatar for pritaeas
0
91
Member Avatar for krusty511
Member Avatar for Bestwebdesign
0
96
Member Avatar for eltonpiko

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.

Member Avatar for pritaeas
0
143
Member Avatar for lttleastig
Member Avatar for lttleastig
0
75
Member Avatar for whitestream6

Not sure about the better part, but the AddHandler was made for this (telling Apache what to do with a certain file).

Member Avatar for pritaeas
0
110

The End.