8,966 Posted Topics
Re: Try this one to match both: select * from emp where ename regexp 'raj ?kiran' | |
![]() | Re: > A credit card number must have between 13 and 16 digits The current max is already on 19. |
Re: You can add `quantity - $values["quantity"] >= 0` to the where clause, but then you don't get an error. What you describe is business logic and should be checked by you before doing the update. | |
Re: If you use a submit button (in a form), then you can add your variables as hidden inputs in that form. | |
Re: DSN for MySQL looks like this: mysql://user:pass@localhost:port/my_db | |
Re: That is an assignment, not an equality operator (which is `==`). | |
Re: Can you explain what you mean? Do you want to add an image, or do you want to add a .xap (Silverlight file) displaying an image? | |
| |
Re: > will I be able to use the command line tools on a real web server That will depend on your webhost. Some allow it, others don't. Check with them. | |
Re: Why is simple. You want to be able to reproduce a production error/bug on your development system. Having identical setups for both will eliminate a lot of possibilities that the problem lies in version differences. | |
Re: You better contact the seller. He will probably know what you did wrong, as he has much more experience with the script. | |
Re: Use a loop for each character, in it build two strings (letters, numbers). After the loop is finished, concatenate them. | |
Re: > ['<?php echo join($data9, "','") ?>', <?php echo join(',', $data10); ?>], The first one has single quotes around the join, the second does not. | |
Re: Does it have to apply physics, or is it a simple `Arc`? | |
Re: Not as-is probably. Delphi XE2+ allows creation of iOS applications with FireMonkey. You'd still require a Mac though to compile the generated XCode. | |
Re: Exactly, no contact information, and selling OEM software is not legal everywhere. | |
| |
Re: Have a look at [exec](http://php.net/manual/en/function.exec.php). ![]() | |
Re: It's part of the OpenOffice Suite (or it should be). | |
Re: If you had looked a little closer to this forum, you'd have seen that the two questions before yours are about similar issues. Check them out, perhaps it will get you started in the right direction. | |
Re: 1) A browser will usually not load more than two files simultaneously per domain. If you use more domains, it will try to load more files simultaneously. 2) Cloud hosting has the advantage of moving your site around if something goes really bad. But with only 10.000 hits per day … | |
Re: You need to merge lines 12-14 and 53,54. If you move the first query to the position of the second, you just need to add the 4 column names and values into the first query: $sql = "INSERT INTO parts (username, customer_name, customer_address, date, warehouse, part_number, description, serial_number, quantity, part_condition, … | |
Re: I suggest you step through the code with the debugger, so you can see exactly where the problem occurs. | |
Re: The simplest way is probably something like [AddThis](http://www.addthis.com/). | |
Re: Can you give some sample data for both tables? It will help visualize. | |
Re: Have you tried this: while (ord(UpperCaseWords[i]) >= ord('A')) and (ord(UpperCaseWords[i]) <= ord('Z')) do | |
Re: Hmz. Perhaps a post about using queries (MySQL, MySQLi, PDO) correctly is a good one to get back up there. I'll try to allot some time for one, unless anyone else feels inclined. The "is not a resource" questions still come up regularly. ![]() | |
Re: You can insert the records from 1 where the transno is not in 2. Something like this, but am a little rusty: INSERT INTO app2 (transno, amount, subject) SELECT transno, amount, name FROM app1 WHERE transno NOT IN ( SELECT transno FROM app2 ) | |
Re: > using SQL server Since you are using SQL Server you need to provide a user id and password too. The database name should be `Database1` if that is the name. You are trying to open it like an Access file, that is not possible. Server name could also be … | |
Re: > Warning: file_get_contents() [function.file-get-contents]: Couldn't connect to server Are you sure opening external pages is allowed on your server? | |
Re: $(".boxes").each(function(){ $(this).attr('checked', 'checked'); }); | |
Re: I prefer knowing what's going on in the background. Although well tested, not all frameworks are bug free, so it would be very convenient if you know how to fix it (compared to waiting for a new framework release containing your fix). | |
Re: Here a start: http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call- | |
Re: You can use an `ajax()` call to poll a PHP script (which checks your database) to see if there are any messages. You can then return the info in JSON format. | |
Re: You can read [the spec](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) on how the server should interpret them. | |
Re: Things to consider: - Is it really necessary to use jQuery? - Aren't you going to build methods and settings you will never use? - If you share you plugin, make sure other people can provide you with new functionality or code. You will learn new things in the process. | |
Re: You have more than one form on the same page, are you clicking the right submit button? None of them are named submit... so `$_POST{'submit']` is always false. | |
Re: You are trying to capture the value of the input, e.g. Alfa Romeo ? If you switch the submit javascript function with your own, then you can copy the clicked value into your hidden input and then submit the form. Is that what you want? | |
Re: The single quotes are messing it up. Remove them or use backticks. The example from AndreRet misses a semi-colon on line 2. |
The End.