Thread: MYSQL - insert
View Single Post
Old 09-14-2003, 08:01 PM   #3 (permalink)
jimmyoctane
Registered User
 
jimmyoctane's Avatar
 
Join Date: Sep 2003
Location: California
Posts: 26
jimmyoctane is on a distinguished road
Send a message via AIM to jimmyoctane
mysql insert

The "$" is missing from variable and you are right that the data in double quotes is seen as a char value instead of actual field value....but I think that doesnt matter at this point. The data should still be written to the database.
The record would look like this:

database: userlog
field: Browser = "$browser"
field: longname = "$longname"
field: version = "$version"
field: javascript = "$javascript"
field: platform = "$platform"
field: os = "$os"
field: ip = "$ip"
field: language = "language"







Just unsure of syntax.

I just pulled this section of code out of a much larger program.



Thanks for the reply
database: userlog
jimmyoctane is offline   Reply With Quote