Articulos PHP
- 1.4 Trabajar con n煤meros en PHP.
- 2.5 Saliendo del ciclo con BREAK.
- 2.7 Enlazar un programas con include.
- 2.6 Saltando un ciclo con CONTINUE
- 2.9 Fecha y Hora en PHP.
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
- 2.2 Introduciendo texto usando el m茅todo .text().
- 3 Concatenar efectos con Jquery.
- 1.9 El elemento on.
- 2.3 Pasando el cursor sobre un elemento.
- 1.7 El m茅todo CSS.
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 Hojas de estilo CSS.
- 1.2 Estructura de los estilos 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
- 2.4 Seleccionando filas con LIKE y WHERE
- 1.9 Seleccionar filas con la expresi贸n columna=valor
- 2.8 Conjunci贸n externa de tablas.
- 3 Actualizar valores con UPDATE.
- 3.5 Crear y borrar una base de datos
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



