[Chugalug] Newbie question

Randy Yates lpcustom at gmail.com
Sat Aug 17 00:18:04 UTC 2013


Tyler, your SQL statement may be failing. Have you tried that statement
manually in mysql? You may need to add VALUES like so:

   1. INSERT INTO sedan ( year, make, model, color, price)
   values('{$_POST['year']}','{$_POST['make']}', '{$_POST['model']}',
   '{$_POST['color']}', '{$_POST['price']}')";



On Fri, Aug 16, 2013 at 8:11 PM, Dan Lyke <danlyke at flutterby.com> wrote:

> On Fri, Aug 16, 2013 at 5:04 PM, Tyler Mittan
> <flashbatmanquestion at gmail.com> wrote:
> > Sure:
> > http://pastebin.com/VjBfUdtF
>
> A potential "gotcha": I believe that mysql has two connection methods
> for the local machine, TCP/IP via "localhost", and local filesystem
> accessible sockets. Does:
>
> mysql --host=localhost --user=root --password=root inventory
>
> connect correctly?
>
> Dan
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>



-- 
Google reads my email!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20130816/86d150d6/attachment.html>


More information about the Chugalug mailing list