Re: passing variables - Mailing list pgsql-novice

From hodges@xprt.net
Subject Re: passing variables
Date
Msg-id 3E03D27A.32303.8B05C3@localhost
Whole thread Raw
In response to Re: The pg_hba.conf file  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: passing variables
Re: passing variables
List pgsql-novice
I have two files below.  Why does the first file not pass
values to the second file?

Tom

First file
<HTML><TITLE>Test form</TITLE>
  <body>Test Form<BR>
  <form method="POST" action="test_create_acct.php">
   <input type="text" name="func" value="strtoupper"><p>
   First Name: <br>
   <input type="text" name="fname"><p>
   <input type="submit" name="submit" value="submit">
</body></html>


file: test_create_acct.php

<?php
$res = $func($fname);
echo "$res";
?>

Fatal error: Call to undefined function:  () in
/var/www/html/php_lib_login_includes/ test_create_acct.php on line 2


pgsql-novice by date:

Previous
From: "Josh Berkus"
Date:
Subject: HTML Mail, was: Table referenced by OID in a view?
Next
From: brew@theMode.com
Date:
Subject: Re: passing variables