Dear Martin, it worked!! Thank you SO much! - Shawna
-Original Message-
From: Martin Towell
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Sent: 1/20/02 10:25 PM
Subject: RE: [PHP] agh - what am I doing wrong - regular expressions
try this...
I changed
1. the double quotes in "$pattern =
Good morning everyone,
I'm trying to adapt existing php code that uses a while loop to scan content
for a url pattern, take the matches and add link tags () around them so
the url with be made into "hot links. Simple enough right? Nevertheless, I
seem to be having trouble with urls that have ques
We collect credit card info. on our site and send it to Verisign for
processing. We collect the credit card info. on the last page of our
registration form. We have about 50% of the credit card numbers declined
because people use dashes in their cc number (even though our directions ask
them not
Hi again,
A few days ago, I sent in an inquiry (see below) about how to make the date
field in mysql read NULL when the corresponding form field was empty. I
tried the suggestions I received and the following if statements all seem to
still result in a default -00-00 instead of NULL.
/ thi
For some reason, the following if statement isn't working. Maybe I haven't
had enough coffee to drink or maybe I've had too much - what am I missing?
if ($efa != "nm" || $HTTP_REFERER !=
"http://www.globalhealth.org/news/article.php3?id=1526";){
do this);
}
Thank you, Shawna
--
PHP General M
I think I'm making this harder or more confusing than it really needs to be.
I have a form that is spread out over four pages. I want to be able to give
the user the opportunity to return to page 1 from page 3, for example, by
providing a regular link on page 3 to return to page1. When they cli
I have added a new column in an existing MYSQL table called "event_date" -
type: DATE, NULL default.
This database field will be filled if and when the field in the HTML form is
complete. When I added the new field to MySQL, it automatically assigned
NULL to all the existing records - which is
Our organization has a website that uses PHP and MySQL. In fact, at least
75% of our webpages are generated dynamically.
I want to run reports on the current MySQL database, create new databases
and create, copy and alter existing tables.
Our web host does not support telnet or SSH for its c
ah, sorry about the confusion. The url I provided is just an example of a
url containing a question mark for which I'm trying to find a pattern match
in my content text.
-Original Message-
From: Neil Freeman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 4:16 AM
Cc: [EMAI
I found the following code currently used on our website to match a url
expression. Unfortunately, when I added a question mark, the webpage that
contained the url with the question mark just "hung" and would not load into
my browser at all. Currently, the url links only up to the question mark.
Our ISP is trying to upgrade php and mysql versions on our website. The
current site works fine using MySQL 3.22.20a and PHP3.
We are able to upload, modify and create new database records with no
problem using webforms to enter test and html.
Now that we are trying to upgrade to MySQL 3.23.36
We just upgraded to php4 but many of our html files end with the extension
.php3 - will this be a problem?
--
PHP General 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: [E
I'm trying to get a count of the number of records in a database that have
the keyword "cat", for example. Below is the original code; I added the
query with count at the bottom of this code but it doesn't seem to be
working. I just get a return of "4" which doesn't correspond correctly with
the
Good day everyone,
I'm writing because the username/password database table we had written for
us does not seem to be accepting changes to a password. When I make a
change, not only does the new password not take effect but it disables the
entire account making it useless)
Below is the code fr
Good day,
I'm trying to figure out how I can show the following on my search results
page:
SEARCH RESULTS 1 - 10 of 14 total results for books
Currently, I have a limit of 10 results printing on a page using "offset".
I figured out how to program the pages to know what page of the results its
Thanks Steve! :) Here's the code:
$title$description\n
\n
";
};
if($results <= 0)
{
print "
NO
RESULTS\n
\n
";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
Here's the attachment - I hate it when I do that! :)
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 8/20/01 10:25 AM
Subject: [PHP] while loop with if statement
I can't figure out why the if statement isn't working. The page
displays
the same with or without t
I can't figure out why the if statement isn't working. The page displays
the same with or without the if statement. Any idea what I'm doing wrong?
I attached the code in a word document.
Thank you, Shawna
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
I'm looking for a way to have a url for a link "explode" into the actual url
address. So for example, on a dynamically created webpage, I have a link
called: Contact.
When someone chooses to view the "printer friendly" version of this page, I
want the link on the the printer-friendly page to c
I've created a "printer-friendly" version of a page (PHP/MySQL) and want to
have just the tags automatically removed. I thought about using
strip_tags() but I'm not able to predict what html tags to include as the
exceptions so that they would not be removed too. How can I do this? Thank
you!
20 matches
Mail list logo