Tuesday, June 10, 2008

I have a good grasp of HTML and a beginners grasp of CSS. I need to develop my languages over the summer. Specifically I might need to have a better grasp of HTML and CSS- completely learn .xml from scratch- maybe perl or python or other such languages. I am going to get a few books and try to learn that way- but I was wondering if an online class might work better? Any tips?

ok i ve got a simple query thats working great in perl

here it is:


$queryx = "SELECT dl from offset_subscription where cust_id= $id and datediff(NOW()-date) < 30";

ok ive got to perform this in php- i tried:

$queryx = "SELECT dl from offset_subscription where cust_id={$id} and datediff(NOW()-date) < 30";

but no love . .

this query works great in my system- so you can possibly see what the env is like:


$query = "SELECT count(*) from dl_vj_subscription where cust_id={$id}";


its something stupid syntaxically that im doing- please help! thanks in advance . .

t
$query = "SELECT count(*) from dl_vj_subscription where cust_id={$id}";
is actually my mdoel- that one is working fine- its the one with the datediff in it that wont work . .

thanks

I need to insert ifdef/endif statements before and after printf statements in a lot of .cpp files. Is this something that can be done with awk- sed- or perl?

Hi- I downloaded and installed ActivePerl for WinXP. When I double click the .pl script I get a command prompt and then it immediately disappears.

When I try to use "perl c:\script.pl" in the command prompt I get this error:

Can t locate Tk.pm in @INC <@INC contains: C:/Perl/site/lib C:/Perl/lib .) at c:\perl\bin\script.pl line 3.
BEGIN failed--compilation aborted at c:\perl\bin\script.pl line 3.

code:
if(opendir(DIR-$inputdir)) { # Proess file with NGC
foreach my $filename1 (readdir DIR) {
if ($filename1 =~ /ngc.*\.xml$/i ) {
if (open(NGC_Input-$filename1)) {
$NGC_Update=$filename1;
close (NGC_Input);
}
}
}
}

I have this program with the help of Yahoo users were i store filenam1 to a variable NGC_Update. If i ran it in dos the stored value in NGC_Update is retained until the end of the program however if i ran it in UNIX the stored value is gone once the loop above is finished. Is there something wrong with the way i programmed it? please help?

well i got Windows Vista with a full web server and i am planing a local network for the neighborhood my next step is i wish to define domains instead of ip for http any help

i got
Apache 2.2
PHP5
MYSQL
PERL
no i need a local domain not an internet domain please don t give far answers

No comments: