Re: Is this possible?
| From: | John Catron | Date: | Thu, 05 Jul 2001 17:07:21 +0000 |
| Subject: | Re: Is this possible? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8129@lists.php.net to get a copy of this message | ||
To answer quetion number 2:
Get the MySQL reference and look up COMMIT/ROLLBACK.
If you are using the default table type (MyISAM), then it does not
support COMMIT/ROLLBACK but it tells how to accomplish this using
locked tables!
John
--- Michel Laine <michel@systemtech.se> wrote:
> Using PHP 404pl1 / MySQL 3.23.35 / PWS / W98SE if anybody should need to
> know...
> The stuff is for an intranet application.
>
> 1: To execute php code when a A HREF link is clicked.
>
> I have the need to change a session variable depending on which link (of
> a couple) that is clicked. The link is supposed to call $PHP_SELF which
> then change its output depending on the value of the session variable.
> I know that i can solve it by letting the link call different php
> scripts - which update the session variable and then call back to the
> first page.
> If there is another way ( javascript maybe?), i am interested to know
> about it.
>
> 2: To have one undo step on a database update.
>
> Do anybody know / seen any example / tutorial on how this kind of
> function can be implemented?
> Let me know!
> I have read most of the stuff at Newbie network, PHPdeveloper,
> PHPeverywhere, Zend, Devshed, Webmonkey and PHPbuilder - but i have
> never come across anything like this.
>
> --
>
> Michel Laine
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/