Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: database table named 'with'

by K_M_McMahon (Hermit)
on Jan 26, 2005 at 04:42 UTC ( #425113=note: print w/replies, xml ) Need Help??


in reply to database table named 'with'

Can you post the Statement as you are performing it in the script? I had a lot of trouble myself getting mysql to work, but I think I have it now and I hopefully can help.

Sample code from one of my DB scripts:
$query="INSERT INTO session_log VALUES(\'$curr_time\',\'$user_id\',\'$ +passwd\');"; $worked=$dbh->do($query);
$worked is a 1 or a 0 depending on the success or failure of the SQL statement.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://425113]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2021-10-16 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?