Re: [PHP-WIN] Outputting a string from mysql database

2002-04-21 Thread jeff
J B's Supermarket is correct and it was inserted into tthe database without using a form and php. "Mike Flynn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Are you sure that that last field truly contains "J B's Supermarket" in the > database? Are you sure

Re: [PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread Nicole Amashta
Depending on how the data was inserted. If the data was inserted via a php script, then trying to insert data with a single quote ( ' ) in it would throw an error and the query wouldn't complete. The entire query would fail. If you want to insert ' in a database, either use escape the ' with a \'

Re: [PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread Mike Flynn
Are you sure that that last field truly contains "J B's Supermarket" in the database? Are you sure the error wasn't produced while INSERTING the data into the database, thus resulting in only "J B" being put into the database? You should view your database data directly, like by using a webm

[PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread q
I have a field in a mysql table called table which is called names. Examples of the information in this column : Name Lottery Company Mark MiniMark J B's Supermarket I connect to the datbase successful and I use the following php line to get the information from the row: $row_info=mysql