Re: [PHP-DB] Server side or client side?

2001-02-24 Thread Joe Brown
Don't complicate it... Just enclose your list entries in ${entry} and use another page if you want... Or loop back to the same page and check if(empty($id)) {show the first list... ${entry} ...} else { show the second list} ""Sridhar Ranganathan"" <[EMAIL PROTECTED]> wrote in message [EMAIL P

Re: [PHP-DB] deleting carts

2001-02-24 Thread Joe Brown
Although it is probably easiest for you to manage this with php, It makes more sense to me to write a script that is managed by cron (php if you really want) that is executed on a regular basis w/out affecting any users browser latency. If each customer has to wait a little longer, you're going t

Re: [PHP-DB] deleting carts

2001-02-24 Thread Jorge Santos
Hi Nick, Of course it's possible. Anything is possible. Simply generate a simple PHP script that will be executed from the command line which is called from a cron. The PHP script would simple delete any records where (current date) - (your date_added) >= 90 days. On the other hand, on the shopp

Re: [PHP-DB] deleting carts

2001-02-24 Thread Andrew Apold
At 11:31 PM 2/24/01 -0500, Nicholas W. Miller wrote: >I am developing a shopping cart style e-commerce web site. I have a >table called carts that holds users' cart items ... so one user may >have several entries in this table: > >++--+--+-+-+---

[PHP-DB] deleting carts

2001-02-24 Thread Nicholas W. Miller
I am developing a shopping cart style e-commerce web site. I have a table called carts that holds users' cart items ... so one user may have several entries in this table: ++--+--+-+-+---+ | Field | Type | Null | Key | Default |

[PHP-DB] Server side or client side?

2001-02-24 Thread Sridhar Ranganathan
Hi I have a list that is populated by a table. when an item is selected, i want to show another list populated from antoehr table WITHOUT form submission. possible?? i think this kinda mixes client side and server side does it now?! regards sridhar ranganathan __

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-24 Thread Joe Brown
The the colon has special meaning. Look up the OCI man page, specifically - look up the OCIBindByName function. http://www.php.net/manual/en/ref.oci8.php It may give you a hint for the use of the colon and it's use in positioning bound variables. -- Without knowing your table structure and how

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-24 Thread Sven Voigt
On Friday 23 February 2001 17:03, you wrote: > I suppose the authors never concieved a replacement parameter for select > > specification. > > try: > > $sql =3D "select foo, bar, rid from masterdata WHERE rid=3D:rid" > > You need to loose the colon ":" or place it to the right of a where cla > use

Re: [PHP-DB] onMouseOver & onMouseOut

2001-02-24 Thread JJeffman
Are you trying to tell Rudi Ahlers is possible to call php scripts from a browse event ? The statement "form.submit()" belongs to JavaScript not to php. Can you imagine how boring is have to submit forms and reload pages every time the user make changes on a drop down menu? I know you're right