prepare("SELECT * FROM courses WHERE id = 1 AND status = 'active' LIMIT 1"); $stmt->execute(); $mainCourse = $stmt->fetch(PDO::FETCH_ASSOC); $mainCourseId = $mainCourse ? (int)$mainCourse['id'] : 1; $mainCourseTitle = $mainCourse ? $mainCourse['title'] : "Let's Learn About Rupee: A Kid's Guide to Money"; $mainCoursePrice = $mainCourse ? (float)$mainCourse['price'] : 199; $mainCourseOrig = $mainCourse ? (float)$mainCourse['original_price'] : 1999; $mainDriveLink = $mainCourse ? $mainCourse['drive_link'] : '#'; // Calculate discount percentage dynamically $discountPercent = ($mainCourseOrig > 0) ? round((($mainCourseOrig - $mainCoursePrice) / $mainCourseOrig) * 100) : 0; // Fetch all other active catalog items $catalogStmt = $db->query("SELECT * FROM courses WHERE status = 'active' ORDER BY sort_order ASC, id ASC"); $allCourses = $catalogStmt->fetchAll(PDO::FETCH_ASSOC); ?> <?= htmlspecialchars($mainCourseTitle) ?>
⚡ SPECIAL OFFER: Instant Access & Instant Download Available Today! ⚡
🌟 Best-Selling Kids' Financial Literacy eBook

Learn today, be financially smart tomorrow! Help your kids master Save, Spend, Share & Grow[cite: 1].

0): ?>
% OFF
🔒 CLAIM OFFER NOW — ₹

🔒 100% Secure Payment • Instant PDF Download

What Your Child Will Learn 📚

⚖️

Needs vs Wants

Teaches children to identify essential items versus optional luxury desires before spending[cite: 1].

🪙

Coins & Currency Notes

Clear visual breakdowns of Indian Rupee coins (₹1 to ₹20) and notes (₹10 to ₹500)[cite: 1].

3 Magic Rules of Money

Mastering Save, Spend wisely, and Share habits for a strong financial foundation[cite: 1].

🎯

SMART Money Goals

Setting Specific, Measurable, Achievable, Relevant, and Time-bound savings goals[cite: 1].

Explore All eBooks & Learning Bundles

Today's Price
₹199