I'm using embedded MySql statements in Perl to create a table and insert the first record. My code is:
$sth = $dbh->prepare ("
CREATE TABLE TEST (
`product` varchar(16) NOT NULL default '',
`title` varchar(40) NOT NULL default 'No Title',
`desc` longtext NOT NULL,
`image` varchar(24)...
Hi,
I've had a similar problem and now also open the destination email addresses and it works fine. Try this:
$mailprog = "/usr/lib/sendmail";
$email = "denesa.k.shaw\@centerpointenergy.com";
open(MAIL, "| $mailprog $email") or die "cant use mail send"...
I've copied scripts down from other sites and incorporated them into my pages. The result seems to be - no difference!!
Do preload scripts work - if so, what am I doing wrong?
I have a number of rollover images on my index page and it would be of great advantage to have the underlying images...
I'm performing a SELECT statement using MATCH AGAINST running against a table with few entries at this stage since I am building it by geograhical region.
Whenever my query finds that more than 50% of the rows have been selected NONE are returned. Is there any way that I can override this rule...
MAWARGod
Thanks for your response but I've cracked this now:
The '#' is irrelevant because the onClick is obeyed. I had the command to submit within doValForm1 but had left it out of doValForm2. It works fine now.
Thanks again.
Hay
I hope this is the right place for this cos it's Perl, HTML and JavaScript!
I have an initial HTML Form with the following:
-------------------------------------------------
<form action="cgi-bin/Apply.pl" name="ApplyForm" method="POST">
<input...
I want to carry out table retrieval only if a table exists. Currently I'm carrying out the call unconditionally and it's not going on to the next bit of code.
This is what I want to do but ONLY if the table exists :-
use DBI;
use CGI qw(:standard);
local ($dbh, $sth);
$dbh = DBI->connect...
From within a perl script I want to run a perl script on another domain for which I have upload and access rights and then, if possible, check the result and then continue with the original calling script.
Is this possible please?
Pop
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.