http://localhost/SiteWeb/noticia.php?id=7/hola%20esto%20es%20una%20prueba
quiero que en lugar del %20 me ponga -
por ejemplo asi: http://www.forosdelweb.com/f18/conexion-server-php5-otro-server-php4-1153106/
y si pudiera ocultar el id de la noticia no se como hacerlo y ya he intentado de todo :/
mi codigo:
Código HTML:
<a href="noticia.php?id=<?php echo $resul['id'].'/'.$resul['titulo']?>"><?php echo $resul['titulo']?></a>
Código PHP:
$data=mysqli_query($conexion,"SELECT * FROM tbl_noticia WHERE id='$_GET[id]'");