[PHP] (Yet another) I'm blind ... post

2005-08-30 Thread Martin S
like pointing it out to me? Martin S ?php print H2BJoin the lists/b/H2; print FORM Method=POST ACTION='http://www.bollmora.org/mailman/subscribe/' . $lista . 'br'; print Your E-mail address: INPUT type=\Text\ name=\email\ size=\30\ value=\\br; print Your Name (optional): INPUT type=\Text\ name

[PHP] variable passing

2004-03-12 Thread Martin S
I have this in equip-lend-index.php and want to pass the variable $equipment back to the same page: PRINT td valign=\top\Equipment: form action=\$USERPREFIX/equip-lend-index.php\ method=\POST\ enctype=\text/plain\; PRINT input type=\radio\ name=\equipment\ value=\computer\ / Computers;

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Marek Kilimajer wrote: You forgot global $adb; at the beginning of your function, or use $sth = $GLOBALS['adb']-prepare($query); Nope sorry, I've just edited it from my post here. It is in the function. /Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Jason Wong wrote: On Tuesday 31 December 2002 20:02, Martin S wrote: Marek Kilimajer wrote: You forgot global $adb; at the beginning of your function, or use $sth = $GLOBALS['adb']-prepare($query); Nope sorry, I've just edited it from my post here. It is in the function. Hmm

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
Jason Wong wrote: On Tuesday 31 December 2002 20:48, Martin S wrote: This is the function which should return e.g. printers for $lookuptable. But doesn't. function setCurrentDevGroup($devID) { global $adb; $query = SELECT dev_group FROM tracking WHERE

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Martin S
the docs. Thanks for your help, and Happy New Year! Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] function misfunction

2002-12-30 Thread Martin S
wrong here. What? Cheers, Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function misfunction

2002-12-30 Thread Martin S
$lookuptable WHERE ; What am I missing now? /Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function misfunction - 2

2002-12-30 Thread Martin S
NOW what am I doing wrong?? function setCurrentDevGroup($devID) { $query = SELECT dev_group FROM tracking WHERE (computer = $devID); $sth = $adb-prepare($query); if($sth) { $res = $sth-execute();