Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once "connect.php";
- $offerTitle = "This is a title";
- $offerPoints = 500;
- $offerDescription = "Want to play Mario? Download now!";
- $offerCompletedCriteria = "Takes 15-20 minutes for points to be rewarded";
- $offerActionEarn = "Test_text";
- $offerRating = 4;
- $offerNumReviews = 4366;
- $date = DATETIME: Auto NOW();
- $time = NOW();
- // Insert a row of information into the table "PO_Supersonic"
- mysql_query("INSERT INTO PO_Supersonic (offerTitle,
- OfferPoints,
- offerDescription,
- offerCompletedCriteria,
- offerActionEarn,
- offerRating,
- offerNumReviews,
- offerDate,
- offerTime) VALUES('$offerTitle',
- '$offerPoints',
- '$offerDescription',
- '$offerCompletedCriteria',
- '$offerActionEarn',
- '$offerRating',
- '$offerNumReviews',
- '$date',
- '$time'
- ) ")
- or die(mysql_error());
- echo "Data sent";
- echo "$date $time";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement