- Original Message -
From: Pyran Firebrand <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 2:32 PM
Subject: [PHP-DB] PHP/mySQL and INSERT statements
> Hello...
>
> I'm trying to enter a fair amount of text into a mySQL database from
> textfiles using PHP. I'm
on 8/27/01 11:32 PM, Pyran Firebrand at [EMAIL PROTECTED] wrote:
> $query = "INSERT INTO rants VALUES (1, '$date', '$type', '$title',
> '$text')";
> mysql_db_query($query, $db_link) or die ("Problem!");
> }
You should probably be specifying the database before the $query. By the
way, use of t