How To Use AWeber Personalization Code And Variables

Personalization fields allow you to tailor your emails so that it appears like like a personal email to every one of your subscribers. With AWeber, you’re able to do this easily. Using personalisation fields in your AWeber emails is a simple 2-step process: Step 1: Craft your email message as you would normally, but when you are at the point when you want to insert a personalisation field, click on the “Personalise” button in the toolbar above the textfield. Step

Continue Reading

How To Randomly Select From A Record Based On Weight (PHP, MySQL)

I got this code from a brilliant comment here, and it’s a simple formula that allows you to randomly select from a database. The difference is, each record is weighted and the random sampling also takes that into account. For example, this will be very useful if you have several people in your database, and you wanted to randomly select them, but based on how well you liked them. This would be an example of your database: +----+--------+-----------+ | id

Continue Reading

How To Install and Enable PDO For cPanel, WHM

PHP Data Objects ( PDO ) is a PHP extension that provides a consistent way of interacting with databases. To use PDO, you’ll need PHP 5, and PDO has to be installed and enabled, or you’ll get an error like this: “Fatal error: Class ‘PDO’ not found in…” To check whether PDO is even installed, run this code on your server: if ( extension_loaded(‘pdo’) ) { echo “PDO is installed.”; } else { echo “PDO is NOT installed.”; } To

Continue Reading

Sliding Sidebar