-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 11:59 AM
Hi all,
yeah, i know, i did do quite a bit of searching but I just cant find it...
Does anyone have the regex to make sure an http address is full and without
error? like
Barbara Picci wrote:
I've to extract data from a mysql db using two different queries and I
must have an unique output sorting them alphabetically.
For istance,
query1: select * from ads where guest='PK';
count the number of results, make the difference between a given number
and the number
Zoran Lorkovic wrote:
Btw, where I can find patterns that are valid?
(something like (\w+), (\d+)+i etc.
http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
--
PHP General Mailing List (http://www.php.net/)
To
Sandip Bhattacharya wrote:
This stumped me badly in my present project. Is this a bug or a feature in
PHP? I am trying to split a string into two, where only one half (and the
delimiter) is present.
[ trim ]
IN PHP
===
[EMAIL PROTECTED] ~]$ cat s1.php
?php
print
[EMAIL PROTECTED] wrote:
I know this is going to be tough but I need a hosting company that supports
PHP5, has unlimited disk space and a good amount of bandwidth with a
decently fast connection for a decent price. I realize that this might be
rare, but is anyone offering such a package like this
Merlin wrote:
Hi there,
I want to filter out ip adresses out of a given text string. They are
inside a logfile and values are seperated by tabs. I tryed sub_str which
works fine if you know the length of the characters. In case of the ip
adress this is not the case, since they are sometimes
[snip]
And here is the action page, testing2.php.
if ($_POST['user'] == 'Andrew') ($_POST['pass'] == 'pass') {
echo Welcome, Andrew.; }
And (shocker!) I got a blank page. So I turned out display errors and got
this:
Parse error: syntax error, unexpected T_BOOLEAN_AND in
Ed Curtis wrote:
Before I go screwing this code up I thought I would ask for the
formatting. How would you write the following in PHP?
if $entry not equal to Copy Change
OR
Banner Change
OR
Price Change
LW Ellis wrote:
Never mind...
As usual, about the time you ask for help, the brain gets unstuck and
you find the solution.
You should post back with a solution (append SOLVED to your subject) so
that it becomes part of the thread (and archived). This way, next time
someone else has a similar
501 - 509 of 509 matches
Mail list logo