DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = perl program? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2008, 08:18 AM
ArnArn ArnArn is offline
Junior Member
 
Join Date: May 2008
Posts: 23
Default

perl program?


for ( 1 . . 20)
{
open (FILEHANDLE, "< test.txt") or die "oops: $!";
my $char = getc FILEHANDLE;
print $char;
close(FILEHANDLE);
}

I saw this example in the internet. I try to run it by creating test.txt. But there's an error in the "FOR( 1..20). Can someone please help???

I need this to make this run as I'm working on a program that needs to store data that is inconsistent and output it in a different file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot remove because program is being used by another person or program? buttcakelover Security 2 05-06-2008 10:33 PM
where can i see my output of an asp program? Pranav .Net (ASP.Net, VB.Net, C#) 0 05-06-2008 10:28 PM
Perl ....how to write it correctly with Perl ?!? viki k Perl 0 05-06-2008 04:40 PM
perl program??? ArnArn Perl 0 05-06-2008 04:30 PM
how can i write a weather program eg .just for one of the day of May by XML program.? sara XML & XUL 1 05-06-2008 04:30 PM

Your Ad Here

All times are GMT. The time now is 08:20 PM.