8,966 Posted Topics
Re: I found this, although haven't tried it yet: [url]http://objectmix.com/delphi/402159-detecting-monitor-standby.html[/url] | |
| |
Re: Line 268: [code] $querytaxa = "SELECT * FROM species WHERE $searchfield LIKE '%$querystring%' "; [/code] | |
Re: Write something in a $_SESSION variable to detect that you already stored the form. | |
Re: You'd have to loop through each database, table and column. Are you looking for code to do that ? | |
Re: 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. | |
Re: Try using focus() and blur() on your textarea. In focus you can clear the interval, in blur set it again. | |
Re: 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. | |
Re: Sometimes an error in a htaccess file can cause this. | |
Re: [code] SELECT * FROM ( SELECT firstName + ' ' + middleName + ' ' + lastName AS fullName, address1 AS streetAddress FROM Person ) P WHERE fullName = 'John X Doe' [/code] | |
Re: 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] | |
Re: If this does not work for you, remove the space between <? php Otherwise, state your question. | |
Re: Correct on WAMPServer. They are a announcing a new version for this weekend though. | |
Re: 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] | |
Re: This will skip values of 1 too, so either change it to [icode]< 1[/icode] or [icode]>= 1[/icode] | |
Re: 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. | |
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 … | |
![]() | Re: 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 … |
Re: 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 … | |
Re: There is no href in your string, so nothing is exploded. Try: [code] print_r(explode('http://', $link)); [/code] ![]() | |
Re: Have a look at [url=http://www.daniweb.com/forums/thread330477.html]this thread[/url] | |
Re: If the title is the error, then it is a PHP thing. But you are right, it is incomplete and unreadable. | |
Re: 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. | |
Re: 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 … | |
Re: Add the lazy quantifier: [code] <li>(.*?)</li> [/code] | |
Re: 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. | |
Re: Show this line: nsubackend\viewRooms.php on line 3 | |
Re: This tells to NOT (!) end with data.php. Put it before the rewrite: [code] RewriteCond %{REQUEST_URI} !data.php$ [/code] | |
Re: I'm seeing a lot of mysql_query(), but where is the mysql_connect() ? | |
Re: 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. | |
Re: 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. | |
Re: Browse through [url=http://www.daniweb.com/forums/forum154.html]this forum[/url]. | |
| |
| |
Re: [icode]<?php[/icode] needs a space after it. It'll be best if you cleanup your file entirely. | |
Re: 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. | |
Re: I think there should be a config setting for your database. Just point it to the one you want to use. | |
Re: Start reading on [url=http://mobiforge.com]this site[/url]. | |
Re: [url=http://www.daniweb.com/forums/thread328190.html]This[/url] might help. | |
Re: Just php is not possible, because it has no knowledge of your browser. | |
Re: MySql default port is 3306, so forward that too (unless you changed it in the setup). | |
Re: 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. | |
Re: StrToFloat raises an exception when the value is empty, try this: [code] try num1 := StrToFloat(edNum1.Text); except num1 := 0; end; [/code] | |
Re: You may want to return false from your function, if you do not want to submit. | |
Re: #177 by reputation, #34 by solved threads and #69 by post count. I Hope this will trigger a lot more "solved threads". | |
| |
Re: It is just an array, use it like any other. | |
Re: [icode]like "$trimmed"[/icode] is wrong. You should use single quotes instead of double quotes. |
The End.