[PHP-DB] Re: PHP and big production database apps ?

2002-02-22 Thread Pete Lacey
You most certainly can write enterprise scale applications in PHP/PostgreSQL. The web is littered with resources to make your life easier. For me, PHPLIB (on sourceforge) has really saved my life. It's getting a little long in the tooth and the docs are, erm, spotty. But it is definitely

[PHP-DB] Re: Associating table id...

2002-02-22 Thread Pete Lacey
You have set the value of the id input element to the literal string 'id'. What you really want to do is set the id element to the primary key of the row in question. To use your coding style: ... $id = sprintf(mysql_result($result,$count,pk_field)); echo /tdtdinput type=\checkbox\ name=\id\

[PHP-DB] Re: Premature end of Script header

2002-02-21 Thread Pete Lacey
Try It looks like your quotes are out of whack. All those slashes are a little redundant too. Try print(A HREF=test.php?sid=$SIDReload/ABR\n); HTML does not mandate quotes around a parameter's value. I'm only guesing that your reference to SID was supposed to be a variable and that your

Re: [PHP-DB] Re: Redirecting to a new page

2002-01-16 Thread Pete Lacey
And while 'gurix' is correct, the function you're probably looking for is 'header()', as in header(Location: admin.php); Cheers Pete Php wrote: hea a better way is to include your admin pages. if ($myrow[Admin] == Y){ include(admin.php); }else{ include(user.php) ; } so you