Search:

Type: Posts; User: beingchinmay

Search: Search took 0.02 seconds.

  1. How To Remove the New Line Character from the End of a Text Line in PHP

    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:
  2. How To Remove White Spaces from the Beginning and/or the End of a String in PHP

    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...
  3. Replies
    0
    Views
    3,643

    Configuring MySQL

    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...
  4. Replies
    0
    Views
    2,140

    What Is a Session in PHP

    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....
  5. How to Find a Substring from a Given String in PHP

    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...
  6. How To Remove Leading and Trailing Spaces from User Input Values in PHP?

    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...
  7. How To Assigning a New Character in a String using PHP?

    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...
  8. How to Using the NuGet command-line tool ??

    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...
  9. What Are the Special Characters You Need to Escape in Double-Quoted Stings?

    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...
  10. Re: How to insert image or picture in HTML using notepad?

    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...
  11. Replies
    0
    Views
    1,223

    Who Is Using Ajax?

    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...
  12. Replies
    7
    Views
    5,495

    Re: File upload through Ajax

    No sir
  13. Replies
    7
    Views
    5,495

    Re: File upload through Ajax

    File upload through Ajax

    //form html


    //php file



    //js
  14. Replies
    0
    Views
    384

    The COMPARE function

    Use the compare function to compare two LOBs in their entirety, or compare just parts of two LOBs. The specifications are:
  15. Replies
    1
    Views
    673

    Controllers

    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...
Results 1 to 15 of 18



Click Here to Expand Forum to Full Width