Answers for "ecommerce site in php and mysql source code"

PHP
4

ob_start in php

ob_start(); //Start remembering everything that would normally be outputted, but don't quite do anything with it yet
$output = ob_get_contents(); //Gives whatever has been "saved"
ob_end_clean(); //Stops saving things and discards whatever was saved
ob_flush(); //Stops saving and outputs it all at once
Posted by: Guest on May-18-2020
0

quick confirmation window for webapp link php

<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
Posted by: Guest on January-17-2020

Browse Popular Code Answers by Language