8,966 Posted Topics
Re: Use `strtotime` on both and subtract them. ![]() | |
Re: Before line 84 check to see if `clientmsg` is empty, do not post if it is. | |
Below is a documented code example showing how to use the [MySQLi](http://php.net/manual/en/book.mysqli.php) (MySQL improved) classes/objects to connect and query your database (and check for errors). If there are any questions, or you want to see different features, let me know. | |
Re: AFAIK MSSQL does not support ENUM's. What you can do is create a table for the values, and use a FK instead. | |
![]() | Re: Change line 3 to: $radius = isset($_GET['radius']) ? (float)$_GET['radius'] : 0; ![]() |
Below is a documented code example showing how to use the [MySQL functions](http://php.net/manual/en/book.mysql.php) to connect and query your database (and check for errors). Please note that using the MySQL extension is **NOT RECOMMENDED**. This extension is no longer maintained and will be deprecated soon. If you want your scripts to … | |
Re: http://jasperforge.org/projects/jasperreports | |
Re: > The connection name 'ConnectionString' was not found in the applications configuration or the connection string is empty. Add the correct connection string for your database to the config file. | |
Re: I can recommend [log4php](http://logging.apache.org/log4php/). Makes it easy to swap to database, if you change your mind. | |
Re: What local server are you using (XAMPP, WAMPServer)? Is it set to be publicly accessible? Perhaps the firewall on your computer does not allow incoming connections. Did you try the computer's IP address, did you try the computer's network name ? Give more information, as you can see, it can … | |
Re: Are you sure you uploaded all files (including the binaries) ? Follow the guidelines in the error, and turn custom error reporting off. If you do, you'll get a decent exception. | |
Re: Most topics I know that talk about this are using ffmpeg. | |
Re: > it does not give error message to prompt the user to enter it again That is up to you. You should redirect back to the page and make a nice prompt. Personally, I'd go with the date picker, much less chance of trouble. ![]() | |
Re: Since you marked this solved, any chance you will share your solution to help out others? | |
Re: Check the Javascript forum. There are several threads on the subject. It is not possible using PHP only, AJAX is required. | |
Re: You can use DATEDIFF in your query. That would eliminate the need for the isExpired column. | |
Re: You did not show the message you got, so I'll guess `$name=$_POST['search'];` does not have a value set. The best way is to use the following construct: $name = isset($_POST['search']) ? $_POST['search'] : ''; | |
Re: Bukhari is right. Try that to see if it works, just substitute the variables. Perhaps there are just no results. Anyway, it would be difficult to advise on your query without your table structure and any sample data. | |
Re: Inspect what kind of class/object `SQL.Query` returns. It must be enumerable to be able to use foreach. | |
Re: Are you getting any errors ? | |
Re: Imagick is for manipulating images, not PDF's. You'll need to search a PDF tool that does what you want. | |
Re: Content length should always match the amount of data you send. If it is shorter, you'll miss data, if it is longer then the receiver may wait for data that will never be sent. | |
Re: You probably need to do the downloading in a separate thread, so the main thread (which displays the icon) is not blocked by it (or use a different asynchronous method of downloading). | |
Recently bought "Regular Expressions Cookbook 2nd ed." and wanted to share my findings. The book is divided into two parts. The first part (3 chapters) describes tools, skills and programming. The tools chapter shows you what's out there (including his own software). The skills chapter is a tutorial. It describes … | |
Re: Apparently `SHOW TABLES` fails, you may not have permission to execute that query, but it could be that the credentials are incorrect. Add some error checking, to find out where the problem is. | |
Re: MVC is an architecture, while PDO is a database class. You can move to MVC and use PDO. They are not mutually exclusive. | |
Re: If I remember correctly, Amazon has an API you can use to retrieve product information. Check their website. | |
Re: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/429805/populate-dropdown-with-ajax-php-html | |
Re: What does this do ? <select name="header"> <?php foreach(options_typography_get_google_fonts() as $face2) { echo "<option "; if ($_SESSION['header'] == $face2) echo ' selected="selected"'; echo ">$face2</option>"; } ?> </select> | |
Just noticed that I was no longer logged in in IE9 after a period of doing nothing, but having the website open? Did something change? I don't store cookies or history or whatever, but this never happened before. | |
Re: If you are looking for just color schemes (and play around with them), have a look at the Adobe Kuler website. | |
Re: I think you should use only line 5. It looks correct, what problem do you have with it? But if you add it after the one you mentioned first (the one that works), then possibly this new one never gets triggered. | |
Re: `^` indicates the start of a string, `$` indicates the end. You can [read more about anchors here](http://www.regular-expressions.info/anchors.html). | |
Re: You need a (partial) Javascript solution. I've removed your previous thread. Please do not cross-post again. | |
![]() | Re: Read chapter 4 of the [svn book](http://www.visualsvn.com/support/svnbook/). ![]() |
Re: Do not reply to old threads with a new problem, start a new thread. When you do, use code tags to highlight your source (and highlight the offending line). | |
Re: Is the `working.php` file present in the same folder? | |
Re: An ASP.NET web application does not use messageboxes. That is something for a WinForms or WCF application. | |
Re: Line 16 and 21 still have single quotes around keywords and description. Change them to backticks. ![]() | |
Re: Please explain what you mean by 'freeze'. ![]() | |
Re: Can you show what the output should be? And what tool are you using to for the replacements? Something like `/UNUSED([^,{]+)/` could work. | |
Re: Sure you can. If your user has access to both databases then you can just use a query (after creating the same table on the other database). If you don't, just make a backup with SSMS and restore it on the other database. Simplest way is probably in SSMS, right … | |
Re: If you had read the [Member Rules](http://www.daniweb.com/community/rules) you would have known. In your case the "Keep It Organized" rule: "Do not post the same question multiple times". | |
Re: Can you provide some more information about what you are looking for? | |
Re: Wouldn't the Kentico forum be a better choice for such a question? |
The End.