add sendmail in orders
This commit is contained in:
11
app/helpers/post_value.php
Normal file
11
app/helpers/post_value.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function post_value($name, $default = ''){
|
||||
|
||||
if (isset($_POST[$name]))
|
||||
return $_POST[$name];
|
||||
else{
|
||||
return $default;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user