So I need 6 fields? Well that's a start, thanks for that information!
But now I feel very discouraged because if it's adding NULL to some fields and values to some others (without names), that means everything has to be in a set proper order. There's no way I can figure all that out :(
Thanks...
Yep.
I know what the error means, I just don't know what's wrong and what to add/change.
This is the actual code that's failing
<code>
my $sth = $dbh->prepare("INSERT INTO $categories_table VALUES (NULL, '$catname', '$catdesc', NULL, NULL, '$caticon')");
$sth->execute;
if...
I bought a premade site years ago and decided to put it back up. Sad to say, I don't have the original database and the original programmer changed their email address.
I can't get my CGI scripts to work anymore because they require special MySQL "stuff". Sorry for my impressive knowledge on...
I would forget about the header, redirect/post to a THANK YOU page and use a regex if you must to break your file name and location into a link.
I have to do this all the time.
I love how most people believe meta tags are dead and I find it very silly. Meta tags are still important today even though they're not used the same way they used to.
So is this still related to SEO? Of course it is. And there are still thousands of meta engines out there which still use...
I am writing another script to help with SEO and I need to know every possible syntax-correct way to make a meta tag.
Below is what I have so far. don't worry about doing mixed up quotes (ie: name='name"...).
Can you think of any more?
<meta name = "name" content = "content" \>
<meta...
I looked through their site and am very unimpressed by their "beliefs" on SEO in general.
Actually I'm not looking for a keyword suggestion tool but instead a tool that displays how often that word was searched. I've used word tracker but that's what I'm wondering about. Where are THEY...
I am trying to write a script that parses content from a REAL server which has search results. I tried using http://inventory.overture.com/d/searchinventory/suggestion/ but you can't search pluralized words (such as scripts or women).
Anyone know of another HUGE place that does something...
<i>"I can't believe that PERL makes this function difficult."</i>
<b>it's not!</b>
Here's another way.
# convert from number to letter
# using chr()
my $number = chr(65); # A
# convert from letter to number
# using ord()
my $letter = ord(A); # 65
I can tell you right now exactly what the error is. It's a premature end of script headers. This wasn't meant to be a CGI script but instead just Perl.
Try using this one on your website instead.
#!/usr/bin/perl
use warnings;
use strict;
use CGI qw/:standard/;
print header...
Oh wow, that works awesome. I am not a huge fan of OOP but it got rid of the exporter function and enables them to create any variable they want.
Can you explain what this is doing?
sub new{
my $pkg = shift;
my $obj = {@_};
$obj = bless {%$obj},$pkg || die 'unable to bless object!'...
I hate regexes, they give my nightmares and people always correct me on them. But here I go! This is untested.
$string =~ m/<a href="([^"]+)">([^<\/a>]+)<\/a>/gi;
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.