<div dir="ltr"><div>Yeah, the insert failed message requires more checks on the preceding lines above it.<br><br></div>But check in the database if the insert actually happened.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 10, 2018 at 11:07 AM, Charles M <span dir="ltr"><<a href="mailto:chaslinux@gmail.com" target="_blank">chaslinux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks Khalid this is a big help. I read a bit about using placeholders in the values (?,?,?,?,?) but couldn't get the code working. This works, though it displays an error message when the code is inserted (forgot the if($result)?). I still have a lot of work to do on it, but this was a big help!</div><div><br></div><div>Cheers!</div><div><br></div></div></blockquote></div><br></div></div>