8,966 Posted Topics

Member Avatar for warlord902
Member Avatar for brodiebyatt
0
1K
Member Avatar for spluskhan

Add a `WHERE` clause to your query. http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html#operator_like

Member Avatar for spluskhan
0
390
Member Avatar for azareth
Member Avatar for GrimJack
0
1K
Member Avatar for Siberian

`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.

Member Avatar for pritaeas
0
210
Member Avatar for coreyavis

Check again, every variable is preceded by a `!` (not). So if any variable is empty then the function is exited.

Member Avatar for Airshow
1
845
Member Avatar for hussain_ahmed
Member Avatar for hiiiiii@

> can we write code for textbox change event or other events for form input in php No.

Member Avatar for pritaeas
0
88
Member Avatar for iamthwee

> 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.

Member Avatar for veedeoo
1
340
Member Avatar for krunal1986

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/)

Member Avatar for pritaeas
0
307
Member Avatar for toplisek
Member Avatar for pritaeas
0
214
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
264
Member Avatar for DeanMSands3
Member Avatar for darijan.mekic

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.

Member Avatar for parijatziw
0
323
Member Avatar for suresh.chaudhari.75
Member Avatar for matrixdevuk
Member Avatar for monika maan
Member Avatar for punith_1
Member Avatar for Yorkiebar14
Member Avatar for pritaeas
0
231
Member Avatar for msagilliam1

> 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.

Member Avatar for msagilliam1
0
307
Member Avatar for burt.munn

Use CSS. A table is full width by default. Floating them left and right with an adjusted width should work.

Member Avatar for pritaeas
0
300
Member Avatar for Subhashpm
Member Avatar for kgavhane12
Member Avatar for ziadkassam
Member Avatar for oberle1515
Member Avatar for iamthwee

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.

Member Avatar for pritaeas
0
149
Member Avatar for MasterHacker110

http://www.embarcadero.com/products/delphi/previous-versions If you have a valid license, I would contact them to ask for a version.

Member Avatar for dausmus
0
4K
Member Avatar for Bensirpent07

> 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.

Member Avatar for ComNaD
0
417
Member Avatar for LaurenE

Your queries have a comma before the WHERE, it will generate an error. Remove it.

Member Avatar for LaurenE
0
199
Member Avatar for mohit_c

Closed, continued here: http://www.daniweb.com/software-development/c/threads/475529/file-reading-problem

Member Avatar for pritaeas
0
176
Member Avatar for rainingblessing
Member Avatar for pritaeas

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 …

Member Avatar for aufche
2
910
Member Avatar for Dineshchitta
Member Avatar for pritaeas
0
74
Member Avatar for diehsi

I have used a passport, and it required additional software. Not sure if that's still the case. Did you install anything?

Member Avatar for pritaeas
0
185
Member Avatar for Wendy_1

An applet does not return readable HTML the way a regular page does. So no, I don't think it's possible.

Member Avatar for Wendy_1
0
724
Member Avatar for netisland
Member Avatar for pritaeas
0
122
Member Avatar for stevieup

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.

Member Avatar for stevieup
0
332
Member Avatar for AnnYzz

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 …

Member Avatar for diafol
0
388
Member Avatar for DarkMonarch
Member Avatar for iamthwee

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.

Member Avatar for iamthwee
0
183
Member Avatar for john_56
Member Avatar for nana.k.denise
Member Avatar for LaurenE
Member Avatar for scooby36

Hard to say. Code looks fine. I suggest you break on line 4 and check whether `db.Laundries` contains any value at all.

Member Avatar for cxzei
0
161
Member Avatar for kumar.rupesh
Member Avatar for jj.dcruz

[Here](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-)'s a good example.

Member Avatar for pritaeas
0
189
Member Avatar for jayreis

http://php.net/imagecopyresampled See the sample code. The error message states you are passing a string (targetpath), instead of an image.

Member Avatar for jayreis
0
142
Member Avatar for Mike_danvers

This thread? http://www.daniweb.com/web-development/php/threads/475122/logout-not-working

Member Avatar for Mike_danvers
0
98
Member Avatar for Ahsan_5
Member Avatar for tarrie
Member Avatar for prem2

`IN` is used when comparing a column value to a list of values. `LIKE` is used for string comparison.

Member Avatar for diafol
0
364

The End.