If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > 2 Little questions...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-05-10, 07:52
mohansinfh mohansinfh is offline
Registered User
 
Join Date: Nov 2010
Posts: 2
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.
Reply With Quote
  #2 (permalink)  
Old 11-05-10, 08:12
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
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
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On