8,966 Posted Topics
Re: Are you sure that is true? Seems rather unlikely, but if it is, then yes, it's a great drawback. | |
Re: Add a `WHERE` clause to your query. http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html#operator_like | |
Re: Infected Mushrooms - Release Me Thanks to some people in chat ;) | |
Re: `push` adds a new item to the array. `length` just returns the number of items in the array. `length - 1` is the last item in the array, since an array is zero-based. | |
Re: Check again, every variable is preceded by a `!` (not). So if any variable is empty then the function is exited. | |
Re: > can we write code for textbox change event or other events for form input in php No. | |
![]() | Re: > So I read somewhere that your views should not contain any logic in them. I assume they are referring to business logic. Enabling/disabling items in the view is not a problem. |
Re: LastWriteTime shows the time when the assembly was written to disk, and that is the moment of updating. Perhaps `GetCreationTime`. Other than that, try [this](http://blog.codinghorror.com/determining-build-date-the-hard-way/) | |
Re: The path in your background-image is invalid. Replace the `(` with a `/` | |
I've got some winforms partial classes marked `[Obsolete]`. Unlike when applying this to methods, I get no warning after building. Is this because it's set on a partial class? I can't set it in the designer too, because that code can/will be regenerated. Anything I can do about it with … | |
Re: http://ex-parrot.com/~pdw/Mail-RFC822-Address.html | |
Re: DELIMITER ;; CREATE PROCEDURE insertStudent (IN newName varchar(100), IN newScore int(11)) BEGIN INSERT INTO student (name, score) VALUES (newName, newScore); END ;; Your values should match your parameters. | |
Re: Looks like it needs to run on [node.js](http://nodejs.org) | |
Re: Have a look at how OAuth works, it might give you some clues. | |
Re: > Where should I start? Just start. Start building a regular website and extend it gradually with everything you need for such a website. If you already know ASP.NET I don't see why you'd want to do this in PHP. | |
Re: Use CSS. A table is full width by default. Floating them left and right with an adjusted width should work. | |
Re: Where is the documentation? | |
Re: Is `User` perhaps a reserved word? | |
Re: Closed threads didn't get past the conversion to the new website. | |
![]() | Re: Showing the delete post link is view dependent (so kind of acceptable), but don't forget to include the same check in your controller. The other option is to create two separate views, one for a user, one for an admin. |
Re: http://www.embarcadero.com/products/delphi/previous-versions If you have a valid license, I would contact them to ask for a version. | |
Re: > use <nav> instead of <div> for your navigation `<nav>` is NOT a replacement for `<div>`. It's a semantic element, like `<section>`. It shouldn't be used for layout. | |
Re: Your queries have a comma before the WHERE, it will generate an error. Remove it. | |
Re: Closed, continued here: http://www.daniweb.com/software-development/c/threads/475529/file-reading-problem | |
A while ago I explained how you could tag articles (see [this thread](http://www.daniweb.com/web-development/php/threads/387961/php-code-to-show-related-posts-on-a-blog)). Now you get a full working example. This code and the SQL script is also available on GitHub. The attached MySQL dump needs to be imported into your database, and you must update the credentials in the … | |
Re: Use a database on a shared host, and create an API for accessing it. | |
Re: I have used a passport, and it required additional software. Not sure if that's still the case. Did you install anything? | |
Re: An applet does not return readable HTML the way a regular page does. So no, I don't think it's possible. | |
Re: [Here](http://msdn.microsoft.com/en-us/library/a6t1z9x2(v=vs.110).aspx)'s a start. | |
Re: I especially like the simplicity of the [bangs](https://duckduckgo.com/bang.html) at DDG's. Just prepend `!daniweb` to your query, and you are searching here. | |
Re: I don't agree with the fact that you have to implement it. As the assignements states: write test plans and dry runs. That means that you'll have to identify where the code could break, what critical points are, are there range issues, what values are needed by variables to fall … ![]() | |
![]() | Re: Isn't your price stored on the server, and submitted there? What you see in your HTML should be a representation of what is stored on the server, so even if someone changes it, the server values should be submitted. ![]() |
Re: MySQLi supports binding too, so why the step to PDO? | |
Re: Hard to say. Code looks fine. I suggest you break on line 4 and check whether `db.Laundries` contains any value at all. | |
Re: [Here](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-)'s a good example. | |
Re: http://php.net/imagecopyresampled See the sample code. The error message states you are passing a string (targetpath), instead of an image. | |
Re: This thread? http://www.daniweb.com/web-development/php/threads/475122/logout-not-working | |
Re: `IN` is used when comparing a column value to a list of values. `LIKE` is used for string comparison. ![]() |
The End.