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!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to