[PHP-DB] Wrong Parament count

2003-10-22 Thread Tonya
MYSQL and PHP 4.3.3 *sigh* I hate eregs and I'm really bad with them :/ I have a form that has a field in which the user is supposed to enter an IRC channel name. IRC channel names begin with a '#'. ereg(^#) does not work. I am getting the error Warning: Wrong parameter count for ereg()

[PHP-DB] Unique Format

2003-10-22 Thread Tonya
PHP 4.3.3 and MYSQL I am constructing a site for gamers that has a member registration form with field 'Game Handle'. Gamers are funny in that their game alias can include just about any character you can imagine. Setting up an ereg for this would be quite difficult. However, I *do* want

[PHP-DB] Multiple forms and multiple submissions

2003-10-18 Thread Tonya
, the 'You are already entered' message appears. Any ideas on how I can fix this?? BTW, my coding is rudimentary - I have only been coding two weeks :) Tonya

[PHP-DB] Creating Links in data output

2003-10-17 Thread Tonya
Hi :) I am new to PHP and new to this mailing list, so I hope I am not asking something that you tire of answering :) I am creating my first news posting application and I need a function to convert any URLS added to the news message into links. I found this snippet: function