8,966 Posted Topics
Re: I don't see any duplicates, so am guessing your old versions are cached. | |
Re: Here's a [very old example](http://www.javascripter.net/faq/sound/play.htm), but I have no idea if this will still work. | |
Re: `view/picname.png` is either a htaccess rewrite to another PHP script showing the picture in it's page, or `view` is the actual script and the picture is the parameter. | |
Re: The second parameter of post(), the data, should use curly brackets, and not parenthesis. | |
Re: If you want something out-of-the-box, have a look at HighSlide. [Here](http://www.roadrash.no/hs-support/gallery-in-page-thumbstrip-below-with-largeimage.html) is an example. If you want to write your own, perhaps the code will get you started. There's also [this thread](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/385136/ajaxjquery-gallery-not-loading-correctly), the link shows a similar gallery. | |
Re: Do you have this available online ? | |
Re: > WHERE id='{$_POST['id']}'"; You should put the id in a hidden input in your form, it is missing. | |
Re: 1. Adding a fixed number of images as columns will make scaling later much harder. I'd advise to use linked tables. 2. You can use two images, but you can also choose to auto generate them, for example with phpThumb (or any similar package). | |
Re: What is the reason you are using Flash and PHP ? Why not make the entire form without Flash ? | |
Re: Define what you mean by 'archive'. Delete records? Move records to a different table? Do something else? | |
Re: PHP runs on the server, so you will either need to submit a form, or do an AJAX call from Javascript. So if you explain some more what you want to achieve, we can advise a little better. | |
![]() | Re: You will need something like: UPDATE rc_Pages SET pCategory = 'C#' WHERE pName LIKE 'C-Sharp%' ![]() |
Re: It's either visible, or it's not. You cannot hide it for a specific project, and show it to all others. | |
Re: http://davidwalsh.name/google-ajax-search | |
![]() | Re: Your option tag is not closed, not sure if that will cause problems. Your PHP script uses a table named 'table', while the other one uses 'kbaCalc'. |
Re: Sure, just use `php path/to/your/script.php` | |
Re: This part of your code looks fine, are you sure it is not triggered by the lines before this? | |
Re: You don't need to know where the physical file is stored. You will connect to the server, not to the file directly. | |
Re: You'll need to find an SMS gateway first. Google "php sms gateway" for more information. [Here](http://www.webdesign.org/web-programming/php/sending-sms-with-php.14782.html) is one tutorial. | |
Re: In addition, if you have a timestamp column, then there's no need to add two additional columns. Just use `YEAR()` and `MONTH()` in your query. | |
Re: 1. Likely it will. But if it gets heavier, a database is more likely, as it won't have the multi-user issue. 2. Unsure what you mean by this. Please explain. 3. A server can handle more than you think. You can always implement specific caching to speed things up. 4. … | |
Re: Yes, that's possible. I have a web host where I have one shared server, with multiple domains pointing to different folders (a sub-domain is still a folder). You should check with your host if and how this can to be done (I have cPanel and can just configure it there). | |
Re: You can use modulus. If interval is 2, that means that every third line is written. Initialize a variable to 0 before the loop, then check before writing if that variable modulus (interval + 1) equals zero. Increment at the end of your loop. | |
Re: What database are you using? You can use the `WHERE` clause to compare all three columns. | |
Re: In your HTML page, did you define a BASE meta tag ? If so, either remove it, or prepend your links with `http://` | |
Re: Cron should work just fine. Did you have problems setting it up ? | |
Re: jQuery is probably the simplest way to achieve this. Have a look at the samples ont their website. | |
Re: That example is in Flash, but you can easily rebuild it using jQuery for example. | |
Re: > echo join($data1, ',') Should be: echo join(',', $data1); As a sidenote, you can get excellent support on the HighChart's forum. | |
Re: A framework is a set of casses and/or functions to ease your development. For Javascript jQuery, ExtJs, MooTools, Scriptaculous, etc. How to use it: read the documentation. Cake is a framework for PHP (as is CodeIgniter, Zend, Symfony). A version is just what it is. Even if you build your … | |
Re: Unsure, but if you are using PHP4 for some reason, then class variables should be defined with `var`. | |
Re: > id="trials" Should be `id="trails"` | |
Re: A PDF document is displayed by a plugin in the browser. It's not possible to control these with Javascript. | |
Re: I don't know 1and1, but for nearly every host I've had this was no issue. If you point your domains to their DNS, you should be able to map them to different folders. | |
Re: If you want to send that mail to two persons, then add a second email address in `$to` separated by a semi-colon. | |
![]() | Re: Depends. If you are allowed, you can use `file_get_contents` to get it (and `file_put_contents` to save it). If it's disabled you can do it with cUrl. ![]() |
Re: Do you want something like a CMS ? A form to enter your article and save it to the database ? | |
Re: The best description I found in [this article on ElReg](http://www.theregister.co.uk/2012/07/04/cern_spots_higgs_boson/) stating what I learned from the CERN statements: "finding a particle that is pretty much almost certainly the long sought-after Higgs boson". | |
Re: It is still available on Microsoft's website as an ISO. http://www.microsoft.com/en-us/download/details.aspx?id=25129 | |
Re: ExtJs is for client-side development. You still need a back-end script/language for handling the database. | |
Re: Finding reason for disconnecting is troublesome. Do you have any logging you can check out, perhaps find some patterns? It could be caused by anything from software to hardware. | |
Re: You can get feeds if you google "soccer news feeds". | |
Re: You can use a cron job if you are on linux. Otherwise the Windows scheduler. | |
Re: You get that because `$filename` is undefined, it has no value set. Somewhere you need to have: $filename = ''; // not an empty string of course, but pointing to the uploaded file | |
Re: Breakpoints can be conditional, so that they only break when it has a certain value. In your breakpoint list, double click your breakpoint, then you can use a statement to set the condition. | |
Re: One query knows nothing about another, so you would have to keep track. Bascially if you add a 'count' column, then you can sort by it, and select random from those. You would have to update the records, so a stored procedure is an option. | |
Re: http://php.net/manual/en/mysqli.init.php "Any subsequent calls to any mysqli function (except mysqli_options()) will fail until mysqli_real_connect() was called." Remove line 2. | |
Re: Am a little unclear of what is happening. Are you looping a dataset, and outputting each row into a PDF ? |
The End.