RE: Doubt in this script 05-05-2013, 11:38 AM
#11
Yes thank you @hackarchives and @Coder-san , that help me a lot.
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)
| Doubt in this script filter_list | |
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)
<?php
$host="localhost";
$user="root";
$pass="";
$database="testdb";
mysql_connect($host,$user,$pass);
mysql_select_db($database)
$url = "URL GIVEN BY USER";
$url= str_replace("'","'",$url);
$desc = "DESCRIPTION";
$desc = str_replace("'","'",$desc);
mysql_query("INSERT INTO urltable (url,descrip) VALUES ('$url','$desc')");
?>![[Image: 946696_301886219956429_1080285596_n.jpg]](https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-ash3/946696_301886219956429_1080285596_n.jpg)