Webeng
  • Member for 4 years, 5 months
  • Last seen more than 3 years ago
  • Anywhere and Everywhere
Stats
845
reputation
91k
reached
2
answers
27
questions
Loading…
About
<?php
  require('life_config.php');//obtaining $alive value

  $sql = "UPDATE my_life SET drink=:drink, passion=:passion,
  lifestyle=:lifestyle, ongoing=:ongoing WHERE :alive";
  $stmt = $conn->prepare(sql);

  $stmt->bindParam(':drink', 'Green Tea');
  $stmt->bindParam(':passion', 'web development');
  $stmt->bindParam(':lifestyle', 'two days of jiujitsu rolling / week');
  $stmt->bindParam(':onging', 'research');
  $stmt->bindParam(':alive', $alive);

  $stmt->execute();//Life update complete
?>
This user doesn’t have any gold badges yet.
9
silver badges
23
bronze badges
22
Score
16
Posts
55
Posts %
22
Score
5
Posts
17
Posts %
0
Score
17
Posts
59
Posts %
0
Score
8
Posts
28
Posts %
0
Score
7
Posts
24
Posts %
0
Score
6
Posts
21
Posts %