Re: Passing URL parameters, how to hide

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

 



So what I did was this statement: SELECT * FROM  Table
WHERE RecordID = blue and UserID = red
blue is the variable for the recordID
red is the variable for the userID

So now when I change either of those variables in URL 
no record is returned. 

Did I finally get this right ?

Stuart
 


--- Bastien Koert <bastien_k@xxxxxxxxxxx> wrote:

> >When I
> > > request "update.php?recordID=2", you should be
> doing
> > > something like "SELECT
> > > * FROM Record_Table WHERE recordID = 2 AND
> userID =
> > > 3", ...............

-- 
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