Código:
y la verdad ya no le entiendo al codigo, si alguien entiende mi idea y me puede ayudar se lo agredeceria muchisisisimo.<?php
$link = mysql_connect('localhost', 'bd_admin', 'pass');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$result = mysql_query('SELECT chiste FROM web.chiste');
if (!$result) {
die('Could not query:' . mysql_error());
}
$strchiste = $_GET["chiste"];
$strpor = $_GET["por"];
mysql_query("INSERT INTO web.chiste (id,fecha,chiste,by) VALUES (AUTO_INCREMENT(),NOW(),"&$strchiste&","&$strpor&")");
mysql_close($link);
?>
Gracias por adelantado.

