Search:
Type: Posts; User: beingchinmay
Search:
Search took 0.02 seconds.
-
If you are using fgets() to read a line from a text file, you may want to use the chop() function to remove the new line character from the end of the line as shown in this PHP script:
-
There are 4 PHP functions you can use remove white space characters from the beginning and/or the end of a string:
* trim() - Remove white space characters from the beginning and the end of a...
-
Unfortunately, the installer doesn’t set up the commands needed to be able to start, stop, and restart the MySQL server, so you’re going to have to do this manually by opening the Terminal and...
-
A session is a logical object created by the PHP engine to allow you to preserve data across subsequent HTTP requests.
There is only one session object available to your PHP scripts at any time....
-
To find a substring in a given string, you can use the strpos() function. If you call strpos($haystack, $needle), it will try to find the position of the first occurrence of the $needle string in the...
-
If you are taking input values from users with a Web form, users may enter extra spaces at the beginning and/or the end of the input values. You should always use the trim() function to remove those...
-
The string element expression, $string{index}, can also be used at the left side of an assignment statement. This allows you to assign a new character to any position in a string. Here is a PHP...
-
The first method of creating a NuSpec file is a variation of a previously used command: nuget spec. The nuget spec command is very much like the nuget pack command, except that the nuget spec command...
-
There are two special characters you need to escape in a double-quote string: the double quote (") and the back slash (). Here is a PHP script example of double-quoted strings
This script...
-
to insert an image in html file using notepad is
The tag to add an image is the IMAGE tag, <img>. We have to tell them where the image is, so we use the src attribute to specify the image. We...
-
A number of commercial web sites use Ajax techniques to improve their user experience. These sites are really more like web applications than traditional brochureware web sites that just display...
-
-
File upload through Ajax
//form html
//php file
//js
-
Use the compare function to compare two LOBs in their entirety, or compare just parts of two LOBs. The specifications are:
-
In the context of the MVC architectural pattern, a controller responds to user input (e.g., a user clicking a Save button) and collaborates between the model, view, and (quite often) data access...
|
Click Here to Expand Forum to Full Width
|