in reply to Trouble updating value of variable for a placeholder
Of course, you will have to prepare it every time, so use this as a last resort. Also, notice how I typed the first placeholder. Some DBDs require this (I was frustrated as hell until I discovered this was the case for Sybase).my $sth = $dbh->prepare('SELECT * FROM applicant WHERE date_col=? ORDE +R BY job_position LIMIT $limit,10'); $sth->execute($date) or die $sth->errstr;
thor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Trouble updating value of variable for a placeholder
by peppiv (Curate) on Jun 18, 2002 at 12:48 UTC |