Apr 18 at 11:01pm, Andy Ladouceur wrote:
> Andy Amol wrote:
> > I would like to test whether a given sting contains only character, it
> > should also support spaces. eg "Course Book String". I am able to test
> > "CourseBookString". Also I would like to know how can we avoid wild
> > chars like *,
A regexp like this should work:
/^([a-zA-Z]|\s)+$/
Cheers,
Andy Ladouceur
Andy Amol wrote:
Hi,
I would like to test whether a given sting contains only character, it should also support spaces.
eg "Course Book String". I am able to test "CourseBookString".
Also I would like to know how can
http://ca2.php.net/manual/en/ref.filesystem.php
Look here for write or fwrite. That should be what you want.
--
Marcjon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I want to save pages that show records for each user's identity, to HTML
files then add the file-name to database..
Each page contain information of certain user..
How to save page to HTML file with PHP...??
Nicholas Sk2
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, vi
Hi,
I would like to test whether a given sting contains only character, it should also
support spaces.
eg "Course Book String". I am able to test "CourseBookString".
Also I would like to know how can we avoid wild chars like *, or any other char apart
from alpha numeric char.
Thanks.
"Craig Hoffman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What is the best way to avoid data being resubmitted (entered twice) to
> DB (mysql) if the user hits refresh after POSTING data via a form?
You can make it even more easy for inserts by using the SQL command IGNORE.
Jus
Hi,
I am not sure if my issue can be partially solved by a good database
design or that all stands or falls with the application.
If I have a bunch of locations in a table and I want to describe a
route between a number of these locations, what's the best way to do
it, considering that it must b