[PHP-DB] PHP in Database Fields..

2002-06-24 Thread Matthew Tedder
Question: I want to put PHP code into database fields holding HTML text, how can I make it execute that PHP before sending to the browser?? Currently, I get the text from MySQL and print it The browser shows the PHP code mixed into the HTML. Matthew -- Anything that can be

Re: [PHP-DB] PHP in Database Fields..

2002-06-24 Thread Matthew Tedder
, either.. Matthew -Mike - Original Message - From: Matthew Tedder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 24, 2002 2:31 PM Subject: [PHP-DB] PHP in Database Fields.. Question: I want to put PHP code into database fields holding HTML text, how can I

[PHP-DB] MySQL Password Writes but Doesn't Read!@#%^

2002-01-03 Thread Matthew Tedder
Can someone please explain this to me?! It's a real puzzle.. Using the password('abc') command in a MySQL insert statement works for me but using it again in a select statement does not. Well--it does in one MySQL database I have but doesn't in another one. I've done exactly the same

[PHP-DB] Array/List Session Variables

2001-12-22 Thread Matthew Tedder
Does anyone know if there is a way to include Arrays and/or Lists as session variables? I'd really like to be able to add variable lists of variables to a session. --Matthew -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-DB] Execution of non-PHP code from within PHP

2001-11-26 Thread Matthew Tedder
Using PHP, how can I spawn a process and execute non-PHP code off the console? --Matthew -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP-DB] or { blah blah blah }

2001-11-09 Thread Matthew Tedder
Inside a function, I am reading data from MySQL. In case any of these calls fail I follow them with something like: or echo Can't make query to database!; The problem is, I want to do more things than just this... and then I want to return out of the function rather than continuing to

[PHP-DB] Learning PHP Sessions

2001-10-30 Thread Matthew Tedder
?php /* Hi, I'm new to PHP and am having trouble understanding how to use PHP sessions. My book tells in near the beginning how to start them and register session variables, but I can't figure out how to destroy a session or later read those session variables. I'm also trying to do this