8,966 Posted Topics

Member Avatar for Petrica7

I found this, although haven't tried it yet: [url]http://objectmix.com/delphi/402159-detecting-monitor-standby.html[/url]

Member Avatar for Petrica7
0
125
Member Avatar for Awah Mohamed
Member Avatar for tiggsy
0
88
Member Avatar for billmudry

Line 268: [code] $querytaxa = "SELECT * FROM species WHERE $searchfield LIKE '%$querystring%' "; [/code]

Member Avatar for pritaeas
0
191
Member Avatar for philmetz

Write something in a $_SESSION variable to detect that you already stored the form.

Member Avatar for ErlendHL
0
3K
Member Avatar for sunwebsite

You'd have to loop through each database, table and column. Are you looking for code to do that ?

Member Avatar for smantscheff
0
1K
Member Avatar for vivi288

Sounds a lot like that column is just your sort-order. You may want to write a trigger on insert, that checks how many are present for that brand and adds one.

Member Avatar for smantscheff
0
282
Member Avatar for stevo356

Try using focus() and blur() on your textarea. In focus you can clear the interval, in blur set it again.

Member Avatar for Airshow
0
368
Member Avatar for SuPrAiCeR69

Try an exsisting domain and a non-existant domain, and see if the headers show different results. Compare more then once to confirm your finding.

Member Avatar for mschroeder
0
2K
Member Avatar for keshu.krazycode
Member Avatar for faintfascinatio

[code] SELECT * FROM ( SELECT firstName + ' ' + middleName + ' ' + lastName AS fullName, address1 AS streetAddress FROM Person ) P WHERE fullName = 'John X Doe' [/code]

Member Avatar for faintfascinatio
0
130
Member Avatar for Aadzee
Member Avatar for pakunoda

If the form is not submitted then the POST values are not set yet, hence the notice. Try: [code] <?php echo "<h1>Register Now!</h1></br>"; $submit = isset($_POST["submit"]) ? true : false; if ($submit) { $fullname = $_POST["fullname"]; $username = $_POST["username"]; $password = md5($_POST["password"]); $repeatpassword = md5($_POST["repeatpassword"]); echo "$username/$password/$repeatpassword/$fullname"; } ?> [/code]

Member Avatar for pritaeas
0
225
Member Avatar for surendrastha

If this does not work for you, remove the space between <? php Otherwise, state your question.

Member Avatar for pritaeas
0
55
Member Avatar for pakunoda
Member Avatar for pakunoda
0
256
Member Avatar for imti321

1. You should have started a new thread, instead of hijacking an old thread. 2. Use [ code ] tags to make your code readable. 3. Indicate which line is line 25. 4. The line starting with [icode]$connect = mysql_connect {"[/icode] is wrong. Change [icode]{[/icode] to [icode]([/icode]

Member Avatar for Sanket_s
0
158
Member Avatar for cristi08

This will skip values of 1 too, so either change it to [icode]< 1[/icode] or [icode]>= 1[/icode]

Member Avatar for cristi08
0
175
Member Avatar for Petrica7

Are your NTFS and FAT32 tests on the same machine ? Or do they have different OS'es ? It might be the way the OS is buffering files.

Member Avatar for Petrica7
0
422
Member Avatar for pritaeas

I'm in the process of converting a legacy app from D5 to D2009. I'm getting errors on AnsiToNative, NativeToAnsi (both DBTables) and DbiOpenSPParamList (BDE). Apparantly the parameters for these functions have changed. Does anyone here have a ready example on how I should use these in D2009 ? I was …

0
107
Member Avatar for T4gal

The major point that always comes up in this discussion (in my opinion), is that tables were not meant for design, they are meant to present tabular data. I've seen a lot of designers in my previous job, and they all agreed on the fact that anything can be done …

Member Avatar for localinternet
0
231
Member Avatar for MooGeek

I suggest you change your gettotalrows function to: [code] SELECT COUNT(*) AS count FROM personinfo [/code] and return that result. There is no need for generating all those rows if you do nothing with them. Also, your previous and next functions may point to an ID that is no longer …

Member Avatar for MooGeek
0
282
Member Avatar for ofir0803

There is no href in your string, so nothing is exploded. Try: [code] print_r(explode('http://', $link)); [/code]

Member Avatar for diafol
0
133
Member Avatar for terrymold

Have a look at [url=http://www.daniweb.com/forums/thread330477.html]this thread[/url]

Member Avatar for terrymold
0
118
Member Avatar for noliasoulja

If the title is the error, then it is a PHP thing. But you are right, it is incomplete and unreadable.

Member Avatar for mschroeder
0
269
Member Avatar for raul8

Not free, but Navicat Premium offers a 30-day trial with which you can do it. That would suffice if you only have to do it once.

Member Avatar for pritaeas
0
74
Member Avatar for Waffles007

You check the count for both queries and display the message thereafter. What you should do is store the count from both queries, add them, and when that result is zero then show your message. Second, but less important, you could combine both queries into one (using UNION). Advantage is …

Member Avatar for pritaeas
0
98
Member Avatar for etftw
Member Avatar for chicagoan

Perhaps you can use the download on [url=http://www.pritaeas.net/view/articles/portfolio-with-jquery]one of my pages[/url]. You can view the demo to see whether or not it suits your needs.

Member Avatar for branding4you
0
294
Member Avatar for prettyrein
Member Avatar for nika201

The only thing missing is an OR: [code] WHERE (id >= 1 AND id <= 5) OR (id >= 10 AND id <= 15) [/code]

Member Avatar for pritaeas
0
106
Member Avatar for Aeterna

This tells to NOT (!) end with data.php. Put it before the rewrite: [code] RewriteCond %{REQUEST_URI} !data.php$ [/code]

Member Avatar for pritaeas
0
135
Member Avatar for alhindasi
Member Avatar for Guerino1

Google Site Search is perhaps an option. Not sure of the price for the business solution, but the company I worked for always used it, even for very large sites. The business edition can also be used in code if necessary.

Member Avatar for agrable
0
337
Member Avatar for kiranbvsn

The WHERE clause is specifically used to reduce the number of results. I'm confused as to why you would want to filter on Vert_ID='utg' and still get all results. I think you want something that must be done in the frontend code, not in SQL.

Member Avatar for kiranbvsn
0
122
Member Avatar for imran_newid

Browse through [url=http://www.daniweb.com/forums/forum154.html]this forum[/url].

Member Avatar for imran_newid
0
142
Member Avatar for mrjavoman
Member Avatar for smantscheff
0
98
Member Avatar for lifeworks
Member Avatar for pritaeas
0
75
Member Avatar for Dani723

[icode]<?php[/icode] needs a space after it. It'll be best if you cleanup your file entirely.

Member Avatar for almostbob
0
828
Member Avatar for Lolalola

Perhaps you need to login first, before you can retrieve user information. See the specifications of your service. The flow of requests should be described.

Member Avatar for pritaeas
0
107
Member Avatar for Jeyush

I think there should be a config setting for your database. Just point it to the one you want to use.

Member Avatar for Jeyush
0
139
Member Avatar for amit_kuetcse2k5
Member Avatar for pritaeas
0
82
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo
0
369
Member Avatar for Grubb
Member Avatar for Mckcvision
0
278
Member Avatar for Dartz654

MySql default port is 3306, so forward that too (unless you changed it in the setup).

Member Avatar for Dartz654
0
291
Member Avatar for showman13

1. Yes. 2. Maybe, depending on your implementation. 3. When not handled correctly, or a lot of deep calls, it can cause a stack overflow. If you are absolutely sure a recursive function is the only way, just do it. Remember that there is most likely a non-recursive solution too.

Member Avatar for showman13
0
280
Member Avatar for StanRogo

StrToFloat raises an exception when the value is empty, try this: [code] try num1 := StrToFloat(edNum1.Text); except num1 := 0; end; [/code]

Member Avatar for StanRogo
0
205
Member Avatar for arthurav
Member Avatar for almostbob
0
349
Member Avatar for Dani

#177 by reputation, #34 by solved threads and #69 by post count. I Hope this will trigger a lot more "solved threads".

Member Avatar for peter_budo
3
675
Member Avatar for hawk_40
Member Avatar for xinam
0
105
Member Avatar for ujsiriwardana
Member Avatar for mbarandao

[icode]like "$trimmed"[/icode] is wrong. You should use single quotes instead of double quotes.

Member Avatar for mbarandao
0
114

The End.