> > Newbie question.
> >
> > I'm working my way through IBM's PHP tutorial. Generally good ... but I'm
> > stuck at an error point and have no idea what's going wrong.
> > Before adding a new row to the mysql database (already opened) we do a
> > query to see if a particular record already exist
Bill I like doing a switch statement base on the returned count from the
query. I feel this gives me better control over the output. keep in mind
that you can not use mysql_num_rows() with anything but a select statement.
also you would turn off error reporting in the ini file since this is a
s
2 matches
Mail list logo