Posted by R. Rajesh Jeba Anbiah on 12/06/42 11:49
pepito3@gmail.com wrote:
> Hi. I have a question about PHP programming philosophy:
>
> Imagine a web of a shop with a table displaying the name of some
> products. There is a link "Buy" next to each product. I want that link
> to execute some PHP code, but I don't want the navigator to show
> another web.
<snip>
1. Ajax
2. header('Status: 204 No Content'); aka "no refresh links"
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Navigation:
[Reply to this message]
|