[PHP-DB] php/sendmail help!

2006-02-09 Thread jusa_98
Hi, I have a form, form results are PUSHED to another page and processed. Files below. (in plain-tet) Now this is what I want to do: 1) Make all fields required input, but if easy to configure I want to have rules for each textarea. For instance an email address must contain a '@'

RE: [PHP-DB] php/sendmail help!

2006-02-09 Thread bastien_k
You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that order if (ereg(^[A-Z]{2}{0-9]{4}$,$_POST['postal'])){ ... As for pasting it back to the form, I would suggest you have

RE: [PHP-DB] php/sendmail help!

2006-02-09 Thread JeRRy
Thanks but I recieved this exact email the other day also. Maybe servers playing up ;) J [EMAIL PROTECTED] wrote: You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that

[PHP-DB] css

2006-02-09 Thread JeRRy
Hi everyone, I have created this website in PHP and mySQL at http://www.bps-testntag.com/ but have come accross an error I was not aware of before. Now I am using stylesheets and I have been surfing the net for about 90 minutes and yet to find a solution, so thought I'd post here,

[PHP-DB] css #2

2006-02-09 Thread JeRRy
Okay I did some more surfing, on a VERY popular website used by neally a million users. I checked their CSS and they use px and pt meassurements. So maybe that is not my issue than. Maybe I don't have an issue to worry about? What are people's thoughts on this, all the input the better

Re: [PHP-DB] css #2

2006-02-09 Thread Adrian Bruce
Jerry Not a php related question at all for starters but anywayi think you need to read up on CSS layout's if the site is properly structure using CSS then you will not have much to worry about regarding different resolutions. Ever heard of floats? google will show you the light! Ade

Re: [PHP-DB] css #2

2006-02-09 Thread JeRRy
Hi, Honesty, no I have not ever heard of floats ... Well I have as in horse-floats but not for web-pages, I will search it up very soon. Thanks! Jerry Adrian Bruce [EMAIL PROTECTED] wrote: Jerry Not a php related question at all for starters but anywayi think you need

[PHP-DB] Re: generating random id's

2006-02-09 Thread Dan Baker
JeRRy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just to let you all know I used PHP's unique ID generator to generate a unique id for tracking purposes. I than md5 it hide the format a bit, would this be enough? Or can be easily worked out also? Need it pretty tight and

Re: [PHP-DB] generating random id's

2006-02-09 Thread Miles Thompson
At 03:26 AM 2/9/2006, JeRRy wrote: Just to let you all know I used PHP's unique ID generator to generate a unique id for tracking purposes. I than md5 it hide the format a bit, would this be enough? Or can be easily worked out also? Need it pretty tight and keeping the likelyhood down

[PHP-DB] Numbers to words

2006-02-09 Thread Ron Piggott (PHP)
Is there a command within PHP that would convert numbers to words: echo 1; # 1 appears on screen echo command('1'); # one appears on screen --- what would the command be? Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Numbers to words

2006-02-09 Thread Ron Piggott (PHP)
I did some searching and found the function on the PHP web site. Ron ? /** * convert long integer into American English words. * e.g. -12345 - minus twelve thousand forty-five * Handles negative and positive integers * on range -Long.MAX_VALUE .. Long.MAX_VALUE; * It cannot handle