Php/Mysql
| From: | Torkil Johnsen | Date: | Fri, 12 Apr 2002 13:49:39 +0000 |
| Subject: | Php/Mysql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92766@lists.php.net to get a copy of this message | ||
Just a noob php/mysql question... (I suppose)
When I try just putting php code in my insert queries, it goes like this:
insert into mytable values('<?php echo "some string"; ?>')
select * from mytable, returns:
<?php echo "some string"; ?>Some string
So the insert-query inserts both the code AND the string that the code
echoes...
Any help would be greatly appreciated!