Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image insert into mysql from perl

Status
Not open for further replies.

dis

Programmer
Apr 23, 2000
1
US
how do you insert an image into mysql from<br>perl?&nbsp;&nbsp;&nbsp;Image is in var $var<br><br>$var=~s/\\/\\\\/g;<br>$var=~s/\'/\\\'/g;<br>if(!($dbh-&gt;do(&quot;udate listing set image='Y' pict=\'$var\' where mls_number=\'$mls10\'&quot;))) {<br>&nbsp;print &quot;error insert table $dbh-&gt;errstr\n&quot;;<br><br>}<br>any suggestions?<br><br>Rick<br><A HREF="mailto:rick@erealestateforyou.com">rick@erealestateforyou.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top