[PHP] Out of Range

2003-02-25 Thread Todd Barr
here is my code $Query = SELECT Last_Login and Current_Login from Security where PM_ID=$_SESSION[ID]; $Getdates = odbc_do($link, $Query); while(odbc_fetch_row($Getdates)) { $Last=odbc_result($Getdates, 1); $Now=odbc_result($Getdates, 2); Now I get an error that tells me that #2 is out

[PHP] Javascript

2003-02-25 Thread Todd Barr
I have tried this 3 different ways and none of them worked... I am trying to get javascript to generate a popup, with a variable passed along in the url. echoa class=white href='javascript.openpopup()' $Unique_Id; this doesn't work, neither does stopping PHP and then restarting... Blah, any

[PHP] Php 4.3

2003-02-10 Thread Todd Barr
Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo value... how can I fix this? THanks -T

[PHP] Access GAH

2003-02-04 Thread Todd Barr
Hello folks, I was wondering if anyone had anyluck with empty fields in Access. Basically, I have an update page, and sometimes items are left blank on purpose. but when I click to update, it gives me an error, as some fields are left blank. Is this an access thing, or can I code around it.

[PHP] Html forms

2003-02-03 Thread Todd Barr
I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML error being apache finds an error AFTER the /html tag Any ideas?

Re: [PHP] Html forms

2003-02-03 Thread Todd Barr
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148 Its the line after the html ends - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: Re: [PHP] Html

[PHP] Bug?

2003-01-31 Thread Todd Barr
Hello all I am having issues passing vars in the url example here is my url http://localhost/tsatest.php?Sub_Task=2 and here is my code $link = odbc_connect( 'TSA','',''); $Query = SELECT * from projects where sub_task='$Sub_Task'; $Result = odbc_do($link, $Query); All this returns is a blank

[PHP] HTML embedding

2003-01-30 Thread Todd Barr
Hello, I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name so the html link looks something like this a

[PHP] Access

2003-01-28 Thread Todd Barr
Access Does anyone here have any idea how to connect access to PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Access difficulties

2003-01-28 Thread Todd Barr
Hello, I have figured out how to connect it, I think But now I get this error

[PHP] MS Access

2003-01-28 Thread Todd Barr
I have it connected, now I am getting the following error Warning: SQL error: , SQL state 0 in SQLConnect in c:\program files\apache group\apache\htdocs\test.php on line 7 Any ideas?

Re: [PHP] MS Access

2003-01-28 Thread Todd Barr
I was just checking to see if the connection was working This one lacked a sql statment - Original Message - From: Paul Roberts [EMAIL PROTECTED] To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 11:57 AM Subject: Re: [PHP] MS Access that means there's

[PHP] I am a dullard

2003-01-07 Thread Todd Barr
Okay...I am now having difficulty with putting things INTO the database. The form is on another page, and links to this one. ?php $Host=localhost; $User=us34992a; $Password=**; $DBname=db34992a; $Link=mysql_connect ($Host, $User, $Password); $db=mysql_select_db($DBname, $Link) or die (Unable

[PHP] Hello and help

2003-01-03 Thread Todd Barr
I am a PHP newbie, and I am having difficulty in getting my records to display here is my code ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or