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

Submit button returns to index page instead of sending data

Put var_dump($_SERVER[‘PHP_SELF’]); at the top of header.php and you will see the problem. That always points to index.php because nearly everything loads through index.php. Use get_permalink to get the “apparent” URL and use that instead of $_SERVER[‘PHP_SELF’] in the form action attribute.

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