Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $baglanti=pg_connect("host=localhost port=5432 user=postgres password=root dbname=postgres");
- $name="namequery";$surname="surnamequery";$city="cityquery";$otherinf="otherquery"; // I need a checkbox.
- $myquery=pg_query("select * from datatables where namecolumn='$name' and surnamecolumn='$surname' and citycolumn='$city' and othercolumn='$otherinf'");
- $user=pg_fetch_array($myquery);
- echo $user;
- ?>
Add Comment
Please, Sign In to add comment