Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $q = var_dump($_GET['q']);
- $Marketplace = $_POST['txtHint'];
- $con = mysqli_connect('localhost','Chuk','pass','Login');
- if (!$con) {
- die('Could not connect: ' . mysqli_error($con));
- }
- if(isset($_GET["q"]))
- {
- mysqli_select_db($con,"ajax_demo");
- $sql="SELECT Website FROM Details WHERE ID = '.$q.' AND Marketplace = '.$Marketplace.'";
- $result = mysqli_query($con,$sql);
- echo "<iframe src=$url'" . $act['Website'] . "'></iframe>";
- $url= $row['Website'];
- }
- mysqli_close($con);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement