What's the deal with Deno? We talk with a major contributor to find out. Listen now.
242
reputation
2
6

Webeng

<?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
?>
0
answers
1
question
~3k
people reached
  • Anywhere and Everywhere
  • Member for 4 years, 11 months
  • 10 profile views
  • Last seen Mar 24 '18 at 16:54

Top tags (4)

Score 0
Posts 1
Posts % 100
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (1)

Badges (8)

Gold

Silver

2

Rarest

Bronze

6

Rarest