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

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

[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

[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

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

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

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

2001-02-24 Thread Joe Brown
Don't complicate it... Just enclose your list entries in a href=another.html?id=${entry}${entry}/a and use another page if you want... Or loop back to the same page and check if(empty($id)) {show the first list... a href=${PHP_SELF}?id=${entry}${entry}/a ...} else { show the second list}