user avatar
user avatar
user avatar
Webeng
  • Member for 6 years, 9 months
  • Last seen more than 4 years ago
  • Anywhere and Everywhere
Stats
242
reputation
3k
reached
0
answers
1
question
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
?>
Badges
This user doesn’t have any gold badges yet.
2
silver badges
6
bronze badges
Top tags
0
Score
1
Posts
100
Posts %
0
Score
1
Posts
100
Posts %
0
Score
1
Posts
100
Posts %
0
Score
1
Posts
100
Posts %