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
, 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
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
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
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
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
/*
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