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
t
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(
l_query("Select * FROM mempersonal WHERE uniquevar='$uniquevar'");
$rowcheck=mysql_num_rows($checksub);
if ($rowcheck>0){
$message="You are already entered into the member database. You cannot refresh
this page.";
include('includes/message.inc');
}else{
Add Everything to database
}
will allow the user to refresh and add a new row to the database ONCE - but only
submitting variables from the LAST form to the LAST table (memmisc). The other tables
from the previous forms are empty. Then, if the user tries to refresh AGAIN, 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
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 insert_links($ne