Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $det = $_POST('selector') ;
- $mat = mysqli_query($link,"SELECT name FROM table1 WHERE code='".$det."'") ;
- $add = mysqli_query($link2, "INSERT INTO table2 SET code2='".$det."', score='".$score."', name='".$mat."'";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement