PROBLEM The MySQL command line utility is used to navigate through a database. Now we need to see a list of user accounts. How to get a list of MySQL user...
PROBLEM Would you recommend using a datetime() or a timestamp () field, and why (using MySQL)? we working on PHP server side. SOLUTION 1 Timestamps in MySQL...
PROBLEM In my table set the width of the first cell in a column to be 100px. However, when the text in one of the cell in this column is too long, the width of...
PROBLEM Is there a way to resize (scale down) images proportionally using ONLY CSS? We can resize the image using JavaScript way, but just trying to see if...
PROBLEM How to display PHP Errors? On checking our PHP ini file and the display errors is set and also error reporting is E_ALL. After restarting our Apache...
PROBLEM regex for email validation – There is a several PHP programs. Get contacted by someone that is having trouble with a site that uses it, and we...
PROBLEM In this sample code: How to write the statement in a proper way If ($a contains ‘are’)? SOLUTION 1 The strpos ().strpos. php function is...
[Solved –10 Answers] PHP - Which is the best way to sanitize user input in PHP? - Is there a catchall function somewhere that works well for sanitizing user
[Solved - 10 Answers] - PHP- Php and Enumerations - PHP doesn't have native Enumerations. But it become accustomed to them from the Java world Constants
[Solved –10 Answers] PHP - How to get the client IP address in PHP? - How can we able to get the client IP address using PHP? We want to keep record of
[Solved- 7 Answers] PHP - How to expire a PHP session after 30 minutes?-We need to keep a session alive for 30 minutes and then destroy it
[Solved- 4 Answers] HTML- html select readonly - how to set select element as readonly -According to HTML specs, the select tag in HTML doesn't have a read
[Solved – 4 Answers] HTML - HTML Anchors with 'name' or 'id' - How to use 'name' or 'id' in html anchor? When one wants to refer some part of a webpage
[Solved - 3 Answers] JAVASCRIPT - remove html tag - How to remove html tags from string,Is there an easy way to remove html tag from string?
[Solved – 5 Answers] HTML - CSS - select a radio button by default - we have some radio buttons and when we tried to be set as selected by default
[Solved – 3 Answers] HTML - CSS - Disable link using css - Is there any way to disable a link using CSS?If you have a class called current-page
[Solved – 3 Answers] HTML-CSS -Background Opacity -Below is one of the problem but I expected to make the background have an opacity 0.4
[solved – 3 Answers] HTML - CSS - html body height -When we tried to make body have 100% of the browser height. Is It possible to do that
[solved - 5 Answers] CSS - text-align center - The problem is the good way to center an image using css ?Is the property text-align: center;
[Solved - 3 Answers] HTML - css center div - Best way to center a element on a page both vertically and horizontally? Basically, margin-left: