insert query
Posted: Wed Jul 14, 2004 9:05 am
hi all,
i have a variable with the following text
when i insert into the databse it never goes into the database because of the ' in the text. how can i avoid this....
my insert query is as follows
i have a variable with the following text
Code: Select all
<?php
$school = "Noah's Ark Pre-School";
?>my insert query is as follows
Code: Select all
<?php
insert into my_table (schoolf) values ('$school')
?>