Articulos PHP
- 1.2 Enunciados de salida echo.
- 2.7 Enlazar un programas con include.
- 3.4 Usando extract con MySQL.
- 1.6 Unir comparaciones.
- 2 Enunciados if.
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.8 Valor de una lista desplegable con attr().
- 2 Añadiendo elementos a la página con append().
- 1.7 El método CSS.
- 2.7 Listas desplegables con change()
- 1.8 Creando elementos con Jquery
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
- 3.3 Definición para columnas.
- 3.4 Creando una tabla con CREATE TABLE.
- 2.4 Seleccionando filas con LIKE y WHERE
- 3.7 Modificar la estructura de una tabla con ALTER TAB
- 2.9 Insertando datos con INSERT.
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
1.1 Consulta SELECT.
Una de las consultas que mas he usado es SELECT ya que con esta instrucción es posible obtener información de la base de datos, para entender lo simple que es usar esta consulta, supongamos que tenemos una tabla llamada usuarios y queremos obtener de ella las columnas: nick, genero y paÃs. Entonces la consulta serÃa como sigue:
SELECT nick, genero, pais FROMÂ `usuarios`
De esta forma se obtienen todos los valores correspondientes a las columnas anteriores, para simplificar un poco más podemos decir que la estructura es la siguiete:
SELECT columna1,columna2,column3… FROM tabla
Es importante recordar que el nombre de la tabla va entre acentos graves `` (Alt+96).Â
En caso de que necesitemos obtener todos los valores de todas las columnas de la tabla simplemente tenemos que usar un * en lugar del nombre de las columnas, quedando de la siguiente forma:
SELECT * FROM `usuarios`
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
Consulta SELECT.
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
1.1