> Just a noob question... (I suppose)
>
> When I try just putting php code in my insert query, it goes like this:
>
> insert into mytable values('<?php echo "some string"; ?>')
>
> select * from mytable, returns:
> <?php echo "some string"; ?>Some string
>
> Any help would be greatly appreciated!
>
I think if you write php code in to text file (or php script) such as
mycode.txt and then use
insert into mytable values (load_file('/path/path/mycode.txt'));
it must be simple done.
Kittiphum Worachat,M.T.
www.hatyailab.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php