Search found 12 matches

by cjermain
Fri Jun 24, 2005 8:17 pm
Forum: Javascript
Topic: Javascript: Showing and Hiding a Password
Replies: 5
Views: 975

I relized that I can simply change "block" to "inline" and there are no spacing problems.

-Colin J
by cjermain
Fri Jun 24, 2005 7:46 pm
Forum: Javascript
Topic: Javascript: Showing and Hiding a Password
Replies: 5
Views: 975

Burrito...when I executed the code that you posted (PS: I took out the line breaks that I had not made for looks), typing in the password works fine and it looks fine, however when I check the show box, the input field moves down a line. I dont understand why this is. <html> <head> <title>Pass Test<...
by cjermain
Fri Jun 24, 2005 5:44 pm
Forum: Javascript
Topic: Javascript: Showing and Hiding a Password
Replies: 5
Views: 975

Javascript: Showing and Hiding a Password

Hey, For one of my pages I want the user to be able to show and hide the password, depending on whether a checkbox has been checked. This is what I came up with: <html> <head> <title>Pass Test</title> <script language=&quote;Javascript&quote; type=&quote;text/javascript&quote;> funct...
by cjermain
Sat Jun 18, 2005 9:27 am
Forum: PHP - Code
Topic: Include?
Replies: 5
Views: 413

That solves the problem.

Thanks!

-Colin J
by cjermain
Sat Jun 18, 2005 9:24 am
Forum: PHP - Code
Topic: Include?
Replies: 5
Views: 413

The reason I would prefer not to use sessions or cookies and rather $_GET, is because the javascript that I am trying to run checks to see if javascript and cookies is enabled on my users browser. I cant make it run with cookies because it would only run on users with cookies and defeat the purpose ...
by cjermain
Fri Jun 17, 2005 9:28 pm
Forum: PHP - Code
Topic: Include?
Replies: 5
Views: 413

Include?

Hey, Im using a javascript function inside my header.php, which I include on every page. On a certain page I want the header.php to change its contents a little so that the javascript will run (by changing the body tag to body="cookiecheck()") . How do I tell the included page to execute t...
by cjermain
Sat Jun 11, 2005 8:28 am
Forum: PHP - Code
Topic: Parse error: syntax error, unexpected T_IF
Replies: 5
Views: 667

Yea thats it.

Thanks!
-Colin J
by cjermain
Fri Jun 10, 2005 10:08 pm
Forum: PHP - Code
Topic: Parse error: syntax error, unexpected T_IF
Replies: 5
Views: 667

Parse error: syntax error, unexpected T_IF

Hey what does this error mean?? What wrong with my code?? Error: Parse error: syntax error, unexpected T_IF in c:\Inetpub\wwwroot\work\company\display.php on line 3 Code: <?php include('includes/connect.php') if (empty($_GET['url'])) { $url=false; } else { $url=true; } ?> Thanks! -Colin J d11wtq | t...
by cjermain
Fri Jun 03, 2005 3:39 pm
Forum: Databases
Topic: Mysql Problems
Replies: 10
Views: 867

hey that works!!!!!!!!!!!!!

thanks!!!
-Colin J
by cjermain
Thu Jun 02, 2005 6:10 pm
Forum: Databases
Topic: Mysql Problems
Replies: 10
Views: 867

I found the error as addressed by MySql Site http://dev.mysql.com/doc/mysql/en/php-problems.html "Error: "Fatal error: Call to unsupported or undefined function mysql_connect() in .." This means that your PHP version isn't compiled with MySQL support. You can either compile a dynamic ...
by cjermain
Thu Jun 02, 2005 1:59 pm
Forum: Databases
Topic: Mysql Problems
Replies: 10
Views: 867

Yea, I have PHP Version 5.0.4. I will look into that problem.
by cjermain
Wed Jun 01, 2005 6:35 pm
Forum: Databases
Topic: Mysql Problems
Replies: 10
Views: 867

Mysql Problems

Im running my IIS on my windows XP machine and I have recently installed PHP and MySql. However when I attempt to open a database: $db=mysql_connect("localhost", "root","**EDITED**"); I recive an error: Fatal error: Call to undefined function mysql_connect() When I look...