[PHP] Forms / Array Question...

2003-06-27 Thread Noel Wade
Hi All, Quickie Question... Possibly a silly one; but it would make my life easier if it works! I know that with a SELECT MULTIPLE, you have to use the convention: NAME=$varName[] to get all of the responses into a nice neat array. I'm wondering about the mechanism behind this - is it simply

Re: [PHP] Re: php editor?

2003-06-16 Thread Noel Wade
My favorite little gem is a shareware program called Code-Genie (www.code-genie.com). Its cheap, fast, a slim app, provides tons of useful little features, and has TOTALLY user-configurable text-coloring. You can specify a particular coloring scheme for each file extension, so it automatically

Re: [PHP] Re: PHP help/example for booking program

2003-06-16 Thread Noel Wade
Welcome, hope you enjoy PHP - its a great language! My best suggestion is to check out the book PHP and MySQL Web Development by Luke Welling and Laura Thomson - it provides you with all of the PHP MySQL fundamentals and good concepts for how to design something like that. The book is aimed a

[PHP] SELECT MULTIPLE form variable?

2003-06-14 Thread Noel Wade
Hi all, So I was under the impression that an HTML form SELECT MULTIPLE item would return an array with all of the selected items. This array can then be used with any of the standard PHP array functions, yes? I have 1 HTML page that seems to work fine... However, another page that is nearly

Re: [PHP] SELECT MULTIPLE form variable?

2003-06-14 Thread Noel Wade
Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Noel Wade [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, June 14, 2003 1:26 PM Subject: Re: [PHP] SELECT MULTIPLE form variable? You need to name it formfield[], not formfield. Noel Wade wrote: Hi all, So I was under

[PHP] Session vars vs. POST/GET vars?

2003-01-11 Thread Noel Wade
Hi all, So I have a session variable; but with register_globals active on the server I'm hosted at (no way to turn it off), just checkng for $varX in my script could retrieve the session variable, a GET variable with the same name, or a POST variable with the same name - and as a security

[PHP] Re: Session vars vs. POST/GET vars?

2003-01-11 Thread Noel Wade
Nevermind, just found the $HTTP_SESSION_VARS array... Thanks anyways! Take care, --Noel Noel Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, So I have a session variable; but with register_globals active on the server I'm hosted at

[PHP] Re: how to passing two dimension array

2003-01-10 Thread Noel Wade
You're missing string concatenation operators. I use echo instead of print - but here's how it should look with either: echo SELECT NAME=\.$vari[$i][$j].\; Explanation: The \ makes the double-quote appear in the final HTML, then you have to use a plain to end the text string. Then you use

[PHP] Re: how can I use an external 'template' file and still use PHP variables?

2003-01-10 Thread Noel Wade
I agree with Edwin on this one. What's the for?? Could it be you want to be doing this: $templatestring = include(/pathto/email_template.php); $message = HTMLMESSAGE.$templatestring.HTMLMESSAGE; ?? When you include() a file with PHP, it DOES parse the included file (although in the included

[PHP] Can you insert into $_POST manually?

2003-01-09 Thread Noel Wade
Hi all, So I have a page that processes information and then echos out a redirect that looks like this: META HTTP-EQUIV=REFRESH CONTENT=4; URL=? echo $url ?; The thing is, there are some variables that I would love to pass in $_POST or $HTTP_POST_VARS to the page referred to in $url. Is there

[PHP] Re: session not set, server configuration?

2003-01-09 Thread Noel Wade
James - Don't know how you're working with Cookies and sessions for sure, but the default / easy way to check for an established session is to put session_start(); at the top of every page that's going to access the session variables. That will check for an established/open session and make the

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Noel Wade
Thanks - I understand that method; but I'm really looking for a way to pass them without them being visible / mucking up the URL line with a buncha stuff... Take care, --Noel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Noel Wade
This will work perfectly! Actually, building a dynamic javascript function and/or hidden form will allow me to collapse a couple of other redirect systems on my site into one... Thanks a bunch! --Noel Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Passing Query_String or variables through multiple pages?

2003-01-05 Thread Noel Wade
Hi all, I have an issue I'm hoping there's a simple answer for (I'm betting there is): I have a dynamic page where the user may click on a link - this link processes their data and shows them a result page... Then I want a variable (for a manual hypertext link) that contains the original URL

[PHP] Re: fgets() question?

2002-12-22 Thread Noel Wade
A blank line should return the newline (\n or \r\n), according to http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 = signs) as the operator, which enforces type checking on a comparison). Yes or no: $foo == FALSE === 0; ??? Right now I'm just doing if($foo) And

[PHP] fwrite() blank-line Quirk?

2002-12-21 Thread Noel Wade
on the end of a string? Thanks in Advance, --Noel Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fgets() question?

2002-12-21 Thread Noel Wade
Okay, attacking my flat-file issues from the other end: When you use $foo = fgets($fp_file); it appears that a blank line ends up looking exactly like a FALSE (failed to read) return value... Is there any way to differentiate between an empty-string read (a blank line in a flat-file) and a

[PHP] querystring and PHP 4

2002-12-04 Thread Dan Wade
Hello, i'm grabbing querystring data like: www.myserver.com/foo.php?id=bar ? echo $id; ? It works like a champ on dev server using php 3 but the sys admin use PHP 4 on the production box and the querystring is no longer being passed. I can't imagine this changed from version to version.

[PHP] Fixing timezone issues

2002-08-13 Thread H. Wade Minter
At some point recently, PHP/Apache running on FreeBSD decided that i'm on GMT, instead of EST5EDT. The system date is correct: bash-2.05a# date Tue Aug 13 14:39:37 EDT 2002 But phpinfo() shows me: _ENV[TZ] GMT What's the best way to get PHP thinking I'm in eastern time again? Thanks, Wade

Re: [PHP] Fixing timezone issues

2002-08-13 Thread H. Wade Minter
On Tue, 13 Aug 2002, Rasmus Lerdorf wrote: Fix your Apache startup environment so TZ is set correctly. I've got this in the apache startup script, but it's still on GMT: bash-2.05a# head /usr/local/etc/rc.d/apache.sh #!/bin/sh TZ=EST5EDT; export TZ case $1 in start) [ -x

[PHP] suppressing errors

2002-07-25 Thread Preston Wade
Hello All, I am trying to use the symbol to suppress errors returned by a mysql_query call. This doesn't seem to be working as I get an new page with the error in it in my browser. Any help with this would be greatly appreciated. Here is a snippet of the code I am using $query =

RE: [PHP] suppressing errors

2002-07-25 Thread Preston Wade
for the response. Thanks, Preston -Original Message- From: 1LT John W. Holmes [EMAIL PROTECTED]@INTERNET@HHC Sent: Thursday, July 25, 2002 2:53 PM To: Preston Wade; [EMAIL PROTECTED] Subject: Re: [PHP] suppressing errors What is the error you get? ---John Holmes... - Original

[PHP] isset

2002-07-09 Thread Preston Wade
Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP

RE: [PHP] isset

2002-07-09 Thread Preston Wade
HTML form. register_globals is off. Thanks, Preston -Original Message- From: Jim lucas [EMAIL PROTECTED]@INTERNET@HHC Sent: Tuesday, July 09, 2002 5:29 PM To: Preston Wade; [EMAIL PROTECTED] Subject: Re: [PHP] isset ... what is it you are testing for? a page

RE: [PHP] Re: isset

2002-07-09 Thread Preston Wade
5:35 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: isset i think what you're trying to do is ?php if($REQUEST_METHOD == POST) { echo Form has been submitted.; exit; } else { echo Display the form that has to be submitted.': exit; } ? Preston Wade [EMAIL

RE: [PHP] isset

2002-07-09 Thread Preston Wade
This is what I was looking for. Thanks! Preston -Original Message- From: Kevin Stone [EMAIL PROTECTED]@INTERNET@HHC Sent: Tuesday, July 09, 2002 5:37 PM To: Preston Wade; [EMAIL PROTECTED] Subject: Re: [PHP] isset ... form method=post input type=submit name=submit

[PHP] multiple select list

2002-04-18 Thread Preston Wade
Hello All, I have seen what I am trying to do on other web sites, but they were written in client side scripting languages. This may or may not be a limitation of server side scripting languages. What I am trying to do is dynamically generate 2 drop down list. I want the second list to

[PHP] wait for existance of a remote file.....

2002-01-30 Thread Wade Barrance
I need a function that will wait for the existence of a remote file. Does anybody know how this could be done?? Cheers, Wade

[PHP] FTP Chron Mysql and PHP

2001-09-12 Thread Wade Berlin
I'm looking for a way to automatically ftp a tab-delimited text file from a private ftp location and update my Mysql table every 24 hours. I don't have root access to the php/mysql server. Anyone have an idea? Thanks, Wade Berlin, Backstreet Production Group Inc

[PHP] Whitespace

2001-05-22 Thread Wade Halsey
Hey How can I add a certain number of whitespace chars to a text file? I write variables to a text file and I want to seperate them by certain numbers of whitespace chars eg : $var(40 whitespace)$var2(10 whitespace) TIA Wade

[PHP] File pointers

2001-05-15 Thread Steve Wade
Any easy way to make the file pointer go up one line in a text file? (I am thinking of using ftell(), then working out the length of the line, and then fseek()?) Thanks :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd

[PHP] fgetcsv

2001-05-13 Thread Steve Wade
Hi all - just wondering if anyone knows of a function like fputcsv - that is, writes a line to a csv file - opposite of fgetcsv. Any help would be appreciated :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North

RE: [PHP] HallMark uses PHP!!!!

2001-05-13 Thread Steve Wade
Hmm - seems clear to me that PHP *is* some form of drug - judging by the way it seems to affect some people's lives... *grin* ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110

RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-11 Thread Steve Wade
Thanks - the hassle is - my isp doesn't use mysql - so i have to use text files I reckon :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -Original Message- From

[PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110

RE: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
: Cannot add header information - headers already sent by (output started at /home/swadie/public_html/redirect.php:2) in /home/swadie/public_html/redirect.php on line 9 ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN

RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -Original Message- From: Adaran (Marc E. Brinkmann) [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 May 2001 22:20 To: [EMAIL PROTECTED] Subject: Re[2]: [PHP] Newbie

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
: $HTTP_REFERRER); exit; } ? which gives an error msg: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/swadie/public_html/redirect.php on line 6 ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
(Location: $fred); exit; } else { header(Location: $HTTP_REFERRER); exit; } ? and the updated referring code... a href=redirect.php?fred=http://www.fusion.org.au;test link/a Whew! Now to work on the hits counter bit... swadie ~~~ Steve Wade

[PHP] Hit stats

2001-05-08 Thread Steve Wade
~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] content-type added to php copy, changes file size , adds content-type to start of file

2001-05-05 Thread Wade Peacock
Uploaded; } ? table border=0 width=751 tr td form method=post enctype=multipart/form-data action=? echo $PHP_SELF ? Upload file! input type=file name=userfile input type=SUBMIT name=upload VALUE=upload /form /td /tr /table Any thoughts would be appreciated. wade

[PHP] content-type added to php copy, changes file size , adds content-type to start of file

2001-05-05 Thread Wade Peacock
Uploaded; } ? table border=0 width=751 tr td form method=post enctype=multipart/form-data action=? echo $PHP_SELF ? Upload file! input type=file name=userfile input type=SUBMIT name=upload VALUE=upload /form /td /tr /table Any thoughts would be appreciated. Wade Peacock Webmaster

Re: [PHP] selected option bla bla

2001-04-25 Thread Wade
I am sure my solution is not the most elegant, but this is what I did: ? switch($acc_state){ case 0: $st0 = selected; break; case AL: $stAL = selected; break; . print SELECT size=1 tabindex=11 name=accstate option value=\0\ $st0 /option option

[PHP] ereg_replace

2001-04-24 Thread Wade
I am attempting to do an ereg_replace(), but the charachter I want to replace is a \. Any Ideas how I make the following work? $F_name = ereg_replace (\, , $acc_fname); echo $F_name; Thanks, Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-24 Thread Wade DeWerff
its much more than that however, I have Linux, 98, win2k and NT server on my box..which has 2 physical hard drives and 5-6 partitions. However I strongly suggest you read up on this subject of multi-boot. You have to take into consideration that most operating systems require up to the first 4-8

[PHP] Newbie Question

2001-04-23 Thread Wade
I wanted to say thanks to all those that have helped me. This is really a great language and I am doing things I never thought I'd be able to do! Now to my question: I am doing some form validation, where I check the values entered by the user. If the value is correct, I format the results and

Re: [PHP] Newbie Question

2001-04-23 Thread Wade
Stewart- Thanks a great deal It works now. Wade Taylor, Stewart [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You've got some typo's if (my_type != 0){ -- if ($my_type != 0) { Plus you forgot to use the print function (or to turn off php ?) t

[PHP] print and echo

2001-04-23 Thread Wade
What's the difference between these two and is there a preference in which one to use? -Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] print and echo

2001-04-23 Thread Wade
40 CAA -Original Message- From: Wade [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 10:43 AM To: [EMAIL PROTECTED] Subject: [PHP] print and echo What's the difference between these two and is there a preference in which one to use? -Wade -- PHP General Mailing Li

[PHP] Posting to a form

2001-04-23 Thread Wade
I'm trying to do the following input type=text tabindex=17 name=Aname value= ? echo strtoupper($Aname); ? But when Aname is multiple words, such as Wade Williams, everything from the whitespace on gets cut off. Any ideas how to fix this? Thanks Wade -- PHP General Mailing List (http

Re: [PHP] Redirection II

2001-04-21 Thread Wade
I got it! :-) ""Wade"" [EMAIL PROTECTED] wrote in message 9bsudp$g23$[EMAIL PROTECTED]">news:9bsudp$g23$[EMAIL PROTECTED]... I am submitting a form to a PHP page. I would like to check the form variables before I load the page, and redirect them to another page if t

[PHP] syntax

2001-04-11 Thread Wade Halsey
Hi I need to name a file like this $fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w"); the file gets named echo $agentcodeCyberTrac.ctr, now I want a real value in $agentcode, there is a value in there so it must be my syntax, anyone help? TIA Wade

[PHP] apostrophe checks

2001-04-09 Thread Wade Halsey
Hi Ive got a textarea control on a form where a user will enter info, i want to enter this info into an interbase db,ive limited the space to 200 characters in the text area but need to now eliminate any apostrophes and other bad characters, anyone have a function? TIA Wade

Re: [PHP] IF this then, move to this line...

2001-04-05 Thread Wade DeWerff
this is mostly a C++ function, java has something similar as well but break would be the closest -Original Message- From: CC Zona [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, April 05, 2001 1:03 PM Subject: Re: [PHP] IF this then, move to this line... In

[PHP] sql looping problem??

2001-04-03 Thread Wade Halsey
= $details -ACCNO; etc etc It executes the correct number of times but doesnt move to the next record.Im using an Interbase DB. Any ideas?? TIA Wade

Re: [PHP] help with parse

2001-04-03 Thread Wade DeWerff
ugh, ok, I was without php support for a bit, ok the script works, except that it doesnt work...it prints even when browser is IE. -Original Message- From: Jason Murray [EMAIL PROTECTED] To: Jason Murray [EMAIL PROTECTED]; 'WD' [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: [PHP] help with parse

2001-04-03 Thread Wade DeWerff
well, this actually worked the way i had it ie. if ($HTTP_USER_AGENT = "Mozilla") before I added the html outputs. -Original Message- From: Jason Murray [EMAIL PROTECTED] To: Jason Murray [EMAIL PROTECTED]; 'WD' [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, April

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Wade DeWerff
buy Meloni's "PHP Essentials" or the "Teach yourself PHP in 24 hours" to start. They are made for total beginners. Then move on to "Professional PHP programming" or "PHP4 Bible". That will give you a better start. ok as you got it already i am a newbie in php could anyone please please post

[PHP] sql problem

2001-03-23 Thread Wade Halsey
Hi ppl ("select empname from employer where empno = (select employercode from badclient where pesal = '$Persal')") Could anyone help me out with the syntax? Im running an interbase db and php4.04 Thanks Wade

[PHP] not working

2001-03-21 Thread Wade DeWerff
this is opening home.php instead of the test include file..whats wrong? tabletrtda href="home.php?Name=test"bTest/b/a/td td? include("$Name.inc"); ?/td/tr/table -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] not working

2001-03-21 Thread Wade DeWerff
what you're wanting to do? Btw, it's looking for home.php because that's what your link referring to, it isn't trying to include it ... let's hope not at least :) So perhaps currently the file holding this code isn't home.php when it should be. Regards, Philip On Wed, 21 Mar 2001

[PHP] Mail

2001-03-14 Thread Wade Halsey
y = "Test file sent";$mail-add_attachment($data, $filename, $content_type);$mail -send(); Im really stumped here, any help will be greatly appreciated Thanks Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Wade Halsey
Hi We have been using Interbase for all our php development and have not experienced problems. The oprational database is 4gigs and if we execute large queries on it we recieve sub-second responses so speed is definetly not a problem Interbase is a good way to go if you have need for a

[PHP] access violation

2001-02-21 Thread Wade Halsey
hi im running iis5 and php 4.04 i get the following error : PHP has encountered an Access Violation at 78003ABF im pretty sure its a server problem, can anyone confirm this or help out? if it is a server error how can it be fixed? this is quite urgent thanks Wade

[PHP] access violation

2001-02-21 Thread Wade Halsey
its a server problem, can anyone confirm this or help out? if it is a server error how can it be fixed? this is quite urgent thanks Wade Wade Halsey [EMAIL PROTECTED] [EMAIL PROTECTED] Cell: 0835560990 Work: (043) 701 4226

Re: [PHP] Pricing for PHP programming???

2001-02-02 Thread Wade D
So how do you know what to charge when youre independent and just starting? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Splitting at word count

2001-01-25 Thread H. Wade Minter
w to split after a certain number of words? Thanks, Wade -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6cIdgX5y4ZKLK2pMRAjOoAJ0RD43TCH7yVTLKhVjtsJ2mr/ZLMgCgmcz0 QHiQipt8ngHq7dnVdiQeHXY= =PwwQ -END PGP SIGNATURE- -- P

[PHP] Session tracking question

2001-01-23 Thread Wade D
what do most use, combination of cookies and GET? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Creating a text file

2001-01-17 Thread Wade Halsey
begin for x := 0 to fields.Count - 1 do begin Buffer := Fields[x].AsString; Writeln(TxFile, Buffer); end; next; end; end;//with CloseFile(TxFile); end; Now I want to create the same sort of thing in Php, could someone please help! Thanks Wade [EMAIL

[PHP] Postgres pconnect

2001-01-17 Thread H. Wade Minter
. So, can I change all of the pg_connect calls to pg_pconnect call and have the pages use persistent connections, or is there something more that needs to be done? - --Wade -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org

[PHP] HTTP_POST??

2001-01-17 Thread Wade Halsey
check which checkbox has been checked so that specific row can be displayed? Thanks for any help Wade

[PHP] Populating table rows

2001-01-16 Thread Wade Halsey
s and the table is populated once. Help someone? Thanks Wade [EMAIL PROTECTED]

[PHP] HTTP_POST

2001-01-16 Thread Wade Halsey
ree rows with different values and each checkbox will have a unique name. On the next page once a submit button has been pushed I want to do: sqlExecute( "Select * from SkyDiary where AccNo = (Here I want the value of the checkbox) Do I use HTTP_POST_VARS here and if so how?? Thanks Wade Halsey [EMAIL PROTECTED]

[PHP] HTTP_POST???

2001-01-16 Thread Wade Halsey
ree rows with different values and each checkbox will have a unique name. On the next page once a submit button has been pushed I want to do: sqlExecute( "Select * from SkyDiary where AccNo = (Here I want the value of the checkbox) Do I use HTTP_POST_VARS here and if so how?? Thanks Wade Halsey [EMAIL PROTECTED]

[PHP] Parse Error

2001-01-14 Thread Wade Halsey
Hi Im getting a parse error with this: $sqlCheckLogin = sqlExecute( "Select * from Sky where SkyUName = '".$HTTP_POST_VARS['UserName']."' AND SkyPasswd = '".($HTTP_POST_VARS['Password'])."'" ) ; Help