From contact form to paypal

Maybe not the best coding wise answers, but for quick solutions that I’ve done and are common: Put the registration page as a thank you from PayPal, which is a setting when doing a PayPal payment button. Put the link to payment in the registration email that’s sent to them, from there they have to … Read more

How to get an error message if a form is empty (plugin: Post for site) [closed]

You’ve already got a check for $_POST == empty. **if (!empty($_POST)){ $pfs = pfs_submit($_POST,$_FILES); echo json_encode($pfs); //echo “<pre style=\”border:1px solid #ccc;margin-top:5px;\”>”.print_r($pfs, true).”\n”; wp_redirect(“http://domda.se/tack/”); exit; } else { /* TODO: translate following */ _e(‘Den här sidan hade du inte behövt se, något är fel.’,’pfs_domain’); echo “<a href=””.get_bloginfo(“url’).”‘>” . __(‘Go home?’,’pfs_domain’) . “</a>”; }** Add an error … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)