RE: php 4.0.5 to php 4.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Chris Mach [mailto:cjmach@learn.senecac.on.ca] 
> Sent: Tuesday, April 22, 2003 3:24 PM
> To: php-db@lists.php.net
> Subject: Re:  php 4.0.5 to php 4.2.2
> 
> 
> It's not my server so I don't think i have access to change 
> the php.ini
> file.
> 
> I tried the $_POST["title"] and $HTTP_POST_VARS["title"] and 
> it worked,
> except now it replaces my previous data instead of adding a 
> new record.
> 
> Is there a way that i can use $_POST in combination with my 
> array variable
> $myrow?
> 
> 
> http://matrix.senecac.on.ca/~cjmach/test.php

You have to find all references to globals that were posted, and change
them.  Such as $_POST['submit'] and $_POST['copy'].  Also you have hard
coded values on the values on the insert that you might want to change
to something more meaningful.  

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux