Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010
    Posts
    2

    Unanswered: 2 Little questions...

    I want to ask two little questions...

    Question 1. How to put the below data in mysql through phpMyAdmin.
    "2912x1994" (without brackets).
    When I am updating this data in varchar assigned field, it shows error.

    Question 2. How to get the as it is data from mysql.
    like if we have Data like below without quotes
    "
    abc
    def
    etc. etc.

    "

    and I want to get it, as it is I mean they consist of line breaks, but fom simple echo command, I am just getting them in series not in line breaks.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by mohansinfh View Post
    "2912x1994" (without brackets).
    without brackets???

    please show the exact INSERT statement

    Quote Originally Posted by mohansinfh View Post
    ... but fom simple echo command, I am just getting them in series not in line breaks.
    that's an html problem -- html regards line breaks as white space
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •