8,966 Posted Topics
Re: You'll find examples of this in this forum. Just try a search first. | |
Re: Possibly has something to do with the `loadHtmlFile`. If I use `load` (since your HTML is well-formed, using `$titles = $xpath->query("//html/div/p");` works as expected. | |
Re: Just create an array containing all images, and set a javascript timeout function to change it. | |
Re: If one of your values contain unquoted quotes, that may trigger this error. | |
Re: So what do you need help with? What do you have so far? Can you show some code? | |
![]() | Re: Perhaps if you explain what you are trying to achieve... Or show what's inside engine.php |
Re: You can use LIMIT in your query, but you won't be able to download more than a single file at once. | |
Re: $(document).ready(function() { $('.fakta_li').click(function() { $(this).next().toggle(400); // <-- this represents the clicked element, next the following element return false; }); }); | |
Re: It will be included just once for the duration of your script. Reloading the page restarts the script, thus including the file. | |
Re: Here is a nice introduction: http://code.activestate.com/recipes/163447-microsoft-access-database-connectivity-dsn-less/ | |
Re: [URL="http://php.net/manual/en/book.mcrypt.php"]Mcrypt[/URL] is probably a good start. | |
Re: Your preg works just fine if the variable holds a single word. I think we discussed this in another thread. Are you sure it's not caused by something else? | |
Re: Search for ReadComponent/WriteComponent. These are the functions also used to store them in the .dfm. You can use them to store them in a stream or string, and write that to the database. | |
Re: You could do an extra check. If you strip_tags the input and count it. If it's shorter then you specified you can just return the input as result. Can you post a test script, with input and expected output? ![]() | |
Re: Show the part where the error message is triggered. | |
Re: SELECT c.CompanyName, p.ProductName, p.TradePrice, s.TotalPrice FROM Companies c, Product p, SaleBody s WHERE c.CompanyId = p.CompanyId AND p.ProductId = s.ProductId | |
Re: `CURLOPT_NOBODY, TRUE` executes a HEAD request, not a POST request. | |
Re: Can you please explain some more what you want? | |
Re: Within the loop: $var = 'id' . $x; $$var = isset($_POST[$var]) ? $_POST[$var] : ''; | |
![]() | Re: The error sounds like you are trying to validate your CSS with an XML validator. Are you sure your tool supports the checking of CSS? |
Re: Your connect has no user/password, the query fails. | |
Re: I think it is not implemented yet in this version. I miss it too. | |
Re: You have a mismatch between `$_GET['recordID']` and `index.php?RecordID=`. Make sure they are identical. | |
Re: Instead of `die("Query failed");` use `die(mysql_error());` | |
Re: There appears to be nothing after the LIKE. Are you sure your parameters are of the right type and in the right order ? Other thing, "PROPERTY_TYPE" is the only table without dbo prepended. Not sure if it matters though. What happens if you try to execute the query? Does … | |
Re: Because clicking the back button will take the page from the browser's cache, without actually reloading the page. | |
Re: [QUOTE=raphnexx;1774389]I think you should, to keep track of your traffic. You can also see what page(s) are mostly visited. Also, Alexa provides Top Search Queries of your site.[/QUOTE] Very inaccurate. They get their data only from people that have their toolbar installed. | |
Re: It's mentioned in [an other thread](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/418604/member-badges). | |
Re: Do this, if there is an error you'll know: $query = "INSERT INTO student_info VALUES('$admission_no', '$admission_date', '$full_name', '$name_with_initials', '$dob', '$religion', '$address', '$telephone', '$grade_on_admission', '$password', '$student_house', '$description_about_st')"; $result = mysql_query($query) or die(mysql_error()); One likely error is that you have more columns then you are inserting. If that's the case, you'll need … | |
Re: From SO: [how-do-i-write-unit-tests-in-php-with-a-procedural-codebase](http://stackoverflow.com/questions/899390/how-do-i-write-unit-tests-in-php-with-a-procedural-codebase) [php-testing-for-procedural-code](http://stackoverflow.com/questions/5021254/php-testing-for-procedural-code) | |
Re: Have a look at TinyMCE or CKEditor. They're both Javascript editors. | |
Re: Sounds like you want `json_encode()` $countries = array (); while($row = mysql_fetch_array($result)){ $countries[] = $row['Country']; } echo json_encode($countries); | |
Re: Correct me if I'm wrong, but I can't find your js code on that page. Looks like your scripts are not included. | |
Re: An out of bounds exception sounds like a coding error. Check your logic. | |
Re: You'd need Javascript to do an AJAX call to a PHP script, which executes that function and returns the result. | |
Re: You can install/access it on both machines, but it would be wiser to install it in the server. | |
Re: The error means that the query has failed. Check your SQL, and add error checking. | |
Re: Seeing nobody has replied yet, you may want to try this question on SO (if haven't done already). If you do and paste the link here, I can upvote (and I guess some others will too). | |
Re: `phpinfo()` gives information about your server, not about the handheld. It is quite possible that your handheld does not support this. | |
Re: Sounds dubious, normally a setup takes care of this (so your app won't need to). Perhaps [this link on SO](http://stackoverflow.com/questions/923350/delphi-prompt-for-uac-elevation-when-needed) may help. | |
Re: For browsing files, you can use `glob()`, `readdir()` or `DirectoryIterator`. You get the content with `file_get_contents()` and parse them with `preg_match_all()`. If you're on *nix, it's a lot easier to just call `grep`. | |
Re: Here's a nice [introduction](http://www.phpclasses.org/blog/post/65-8-defensive-programming-best-practices-to-prevent-breaking-your-sites.html). | |
Re: Do you want to start from scratch, or do you want to change an existing script (assuming one is available) ? Does your accounting system allow easy access to the data? What platform are you thinking of using? | |
Re: I have just tried with IE8 on XP SP3. I get the message too, but if I select "compatibility view" then it works. When I track the submit, the json returned is `data.editor` with the message. I think the problem may be in the passed `data`, perhaps the serializing of … | |
Re: Read in this order: http://php.net/manual/en/function.mysql-connect.php http://php.net/manual/en/function.mysql-select-db.php http://php.net/manual/en/function.mysql-query.php http://php.net/manual/en/function.mysql-fetch-assoc.php | |
Re: I usually do my backups through a cron job calling mysqldump. Another automated FTP download on my desktop will retrieve it. | |
Re: Looks like you did not `include` the FPDI in your code. Perhaps some autoloading settings are different now. |
The End.