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.

Unanswered: inserting mathematical equations into mysql

Hi!
I need to insert data from wordpad/msword to mysql database.The data consists of mathematical equations/chemical equations etc.I'm using notations for the equations like e.g: for 9/5 I'm using \frac\{9\}\{5\} notation,but when I'm trying to dump this into mysql,it's stored as image and could not retrieve it.

hi

I have a table with two columns
1)QID
2)Question with TEXT data type-> in which im going to insert mathematical equations.I'm not sure how it's getting stored in db.
I need to insert quadratic expressions and other mathematical formulas

What happens when you do a SELECT * FROM table. This will give you an indication of what has gotten stored in the database. Also because you use backslashes and these are used as escape characters you may need to escape these. In PHP there is a function called mysql_real_escape_string which returns a string that is escaped to be stored into the database.