Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $link = mysql_connect("mysql.cba.pl", "libcurltest", "bnvbnv13");
- mysql_select_db("libcurltest_c0_pl", $link);
- $axa = $_POST['aaa'];
- $bxb = $_POST['bbb'];
- //ponizsze echo dziala
- echo "$axa $bxb";
- //to result1 jest zjebane
- //$result1 = mysql_query("INSERT INTO table1 (ax, bx) values ( $_POST['aaa'] , $_POST['bbb'] )",$link);
- $result2 = mysql_query("SELECT * FROM table1", $link);
- $num_rows = mysql_num_rows($result2);
- echo "$num_rows Rows\n"; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement