I'm not strong with javascript. Most of the code I'm using is cut and paste from another form on the website that I didn't write. I can't figure out why nothing is happening. It's probably something obvious.
I'm simply trying to put a quick check on the email field to make sure it's not blank...
I have a table full of item numbers. I try to condense the table using the following query SQL
UPDATE tbl2009Sales SET tbl2009Sales.Item = "PN"
WHERE (((tbl2009Sales.Item) Like "PN*"));
This is the SQL generated by the design wizard but it looks like good code to me. It should, in theory take...
Hello,
I have a page with several puzzles. I want the user to be able to click on a puzzle and the solution will come up in a popup. That part works fine. My problem is that if the user clicks on a second solution the first popup goes behind the main screen. I want the popups to remain on...
Here is the code (which was primarily generated from someone else's website). In Mozilla this creates a watermark in the location I want but at 100% opacity so you can't see through it. In IE, the opacity is how I want it but the watermark is aligned left.
Any ideas, I'm not Mr. Javascript...
Hello,
I need to write a simple cron that deletes things older than thirty days.
I have created a file del_list.csh and placed it in the cron folder. The entire file is this:
_______
#!/bin/csh
#
#set echo
find <path>/toplist –name “*.html” –mtime +30 –exec rm –rf {} \;
-------
If I type...
Hi,
I am looking for a site where I might find overlap between strategy gamers and java programmers.
I am trying to drum up some interest for a new bot at the Tantrix website and am looking for a good place to brown-nose potential volunteers.
http://www.tantrix.com/english/TantrixBattle.html...
Please help. I'm trying to write a form that can overwrite some files on the server.
In the head of my HTML form:
function SendNews(f,n)
{
var decision =confirm("Are you sure you want to overwrite."))
if decision == true
{
{document.location =...
I am creating a lost password form. The user puts in what he thinks his player name might be and the page goes and retrieves anything similar and asks the player if any of them looks right and if so choose the radio button that is your player name and click the submit button. The form then...
I am trying to restore the nightly backup to a test db.
I log into the Unix shell and navigate to the backup directory. I type in mysql -u root -p <PWD> testDB < bkup.txt.gz.
I get no error msgs just the "mySQL Ver 14.7 ... (and then all the mysql command-line options)"
When I look in testDB...
If someone types www.myURL.com/Match/index.html the correct page loads and the url says http://www.myURL.com/Match/index.html FINE.
If someone types www.myURL.com/Match/ the correct page loads and the url says http://www.myURL.com/Match/ FINE.
But if someone leaves off the last slash and...
update tblmasteroverrun
set tblmasteroverrun.games_total = tg.total_games
from tbltotalgames tg
where tlbmasteroverrun.uid = tg.uid
I must be thick because I just can't see why this is giving me a syntax error. What am I missing? I've been staring at it for too long.
thx,
jim
The beginning of all our scripts look like this
use Mysql;
use Debug;
use Socket;
use strict;
require "include.pl";
require "tlib/subs.pl";
require "tlib/gs_db.pl";
require "tlib/common.pl";
inside gs_db.pl
i have the code
sub connect()
{ my ($script)=@_;
my $db_type = $'db_type;
my...
Brand new PC, installed apache and perl. Ran a script and got the error:
Can't locate Debug.pm in @INC (@INC contains: C:/usr/site/lib C:/usr/lib .)
Debug.pm is a cgi-bin\tlib in a development section folder so that makes some sense.
I checked this site and others and all things pointed to...
I am trying to install Perl on my PC but am falling at the first hurdle. I hope this is something obvious that anyone with experience can tell me what I'm doing wrong.
I have already installed appache and that seems to work.
I have downloaded and kicked off...
I'm sure this is obvious but I just can't get my head around it. I have two tables, (PLAYERS contains ID, player_name etc, GAMES has player1_ID, p1_score, player2_ID, p2_score, date, etc).
I can't get the join written so that my output looks like
Federer 6 Roddick 4 01/01/2006.
I can only...
Apache is running. (I can run HelloWorld.cgi)
MySQL is running and password is correct. (I can query from the cmd line)
Can someone give me a clue why the following code doesn't work?
________________________________
#!/perl/bin/perl <i>(correct path in dev)</i>
print "Content-type...
I am trying to set up a dev environment. Scripts which run fine on the live server give me the following error msg.
DBD::initialisation failed: Can't locate object method "driver" via package "mysql" at c:\usr\lib\DBI.pm line 770
Perl works because I can view static webpages fine.
Mysql works...
At the moment my users copy a bunch of files down onto their hard drives and then zip them up. They want me to automate this. The problem is that FileCopy won't copy an open file and they want to be able to do this during working hours. Any suggestions on how to get around this?
jim
Hi,
I have to set up an NT Service which a VB app which calls several SQL Server 7 stored procedures. I have set up other services which don't connect to SQL server and they run fine.
Here is my code:
Public mCon As New ADODB.Connection
Public msConnectionstring As String
msConnectionstring...
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.