Articulos PHP
- 2.9 Fecha y Hora en PHP.
- 2.2 Ciclo FOR.
- 1.8 Arreglos o array.
- 2.5 Saliendo del ciclo con BREAK.
- 3.2 Obteniendo informaci贸n de la base de datos.
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 128
Articulos Jquery
- 3 Concatenar efectos con Jquery.
- 1.7 El m茅todo CSS.
- 2.6 El efecto fadeIn y fadeOut.
- 2.3 Pasando el cursor sobre un elemento.
- 1.9 El elemento on.
Warning: Use of undefined constant jquery - assumed 'jquery' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 137
Articulos CSS
- 1.2 Estructura de los estilos CSS.
- 1 Hojas de estilo CSS.
- 1.1 Como incluir estilos en una p谩gina web.
Warning: Use of undefined constant css - assumed 'css' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 146
Articulos Mysql
- 1.3 Valor m谩s alto de una columna.
- 2.8 Conjunci贸n externa de tablas.
- 1 MySQL.
- 3.9 Privilegios o permisos en MySQL
- 1.6 Ordernar valores con ORDER BY.
Warning: Use of undefined constant mysql - assumed 'mysql' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 155
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 199
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
3.1 Borrando una fila con DELETE.
Otra de las operaciones b谩sica a realizar en una base de datos es el borrado de una determinada fila, para ello usaremos la instrucci贸n DELETE. Dicha instrucci贸n tiene la siguiente estructura:
DELETE FROM nombreTabla WHERE condici贸n
Como se puede observar primeramente de pone el nombre de la tabla de la cual queremos borrar una determinada fila, posteriormente se incluye una condici贸n, de forma que las filas que la cumplan ser谩n borradas. Para entender un poco mejor, supongamos que tenemos una tabla llamada comentarios y que deseamos borrar las filas correspondientes al usuario llamado Rosario, entonces la consulta quedar铆a como se muestra a continuaci贸n:
DELETE FROM comments WHERE autor =聽 "rosario"
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
Borrando una fila con DELETE.
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
3.1



