> I'd like to get some feedback from this forum. Do you agree that a page
> without php functions or server side includes can be put online with either
> a .htm or .php function? If I never add a php function to a page with a
> .php extension, could that cause some kind of problems?
it won't ca
> But now I'm not using anything that I can check except for the
> button click. Any ideas how to do this?
assign a name to the button and check for that.
...
if ($_REQUEST["action"] == "Show List") {
/* form was submitted */
...
} else {
/* form hasn't been submitted, show it */
.
> How do I strip " from a string? Actually, I need to change it to a legal
> char so I can send it via the URL.
>
> $url4 = str_replace("/"", ".", $url4);
$url4 = str_replace("\"", ".", $url4);
-j.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
> Is there a way to change all the entries from .pdf to .zip without
> writing an update statement for each individual row?
UPDATE table_name SET col_name = LEFT(col_name, LEN(col_name) - 4) +
'.zip' WHERE col_name LIKE '%.pdf'
-j.
--
PHP Database Mailing List (http://www.php.net/)
To unsub
> Is there any way to work around this and get it to treat all the echoed rows
> as PHP not just only text?
Wrap the print around an eval():
print(eval($string));
-j.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php