{"absolute_url": "/creativehacker/d3/", "blog_post": false, "code": "\n\n\n\nLista de que haceres\n\n\n\n\n
\n

Agregar un quehacer

\n
\n
\n
\n
\n \n
\n
\n
\n\n
\n

Lista de quehaceres

\n
    \n\n\n
  1. \">X
  2. \n\n
\n
\n\n\n", "created": "2010-10-30T16:50:05", "description": null, "description_rendered": "None", "embed_url": "https://snippets.siftie.com/embed/e53125275854402400f74fd6ab3f7659/", "full_absolute_url": "/creativehacker/d3/", "id": 20338, "lexer": "html", "line_count": 36, "log_entries": [], "meta": null, "modified": "2019-03-22T08:39:06.035363", "publish_date": null, "raw_url": "/raw/e53125275854402400f74fd6ab3f7659/", "resource_uri": "/api/public/snipt/20338/", "slug": "d3", "stylized": "
 1\n 2\n 3\n 4\n 5\n 6\n 7\n 8\n 9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36
<?php\n include('conexion.php');\n?>\n<!DOCTYPE html>\n<html>\n<head>\n<title>Lista de que haceres</title>\n<link href="style.css" rel="stylesheet">\n</head>\n\n<body>\n<div>\n<h1>Agregar un quehacer</h1>\n<fieldset>\n <form action='agregar.php' method='POST'>\n <label>Nombre: <input type="text" size="20" name="nombre"></label><br />\n <label>Hora: <input type="text" size="20" name="hora"></label><br />\n <input type="submit" value="Agregar" name='submitted' >\n </form>\n</fieldset>\n</div>\n\n<div>\n<h1>Lista de quehaceres</h1>\n<ol>\n\n<?php\n $result = mysql_query("SELECT * FROM `lista` ORDER BY id ASC") or trigger_error(mysql_error());\n while ($row = mysql_fetch_array($result)){ ?>\n <li><?php echo $row['nombre']; ?> <small><?php echo $row['hora'];?></small><a href="eliminar.php?id=<?php echo $row['id']; ?>">X</a></li>\n<?php } ?>\n</ol>\n</div>\n\n</body>\n</html>\n
\n
", "tags": [{"absolute_url": "/public/tag/html/", "id": 67, "name": "html", "resource_uri": "/api/public/tag/67/", "snipts": "/api/public/snipt/?tag=67"}], "title": "d3", "user": {"absolute_url": "/creativehacker/", "email_md5": "854958eb3c39e120792ede271301b359", "id": 6002, "resource_uri": "/api/public/user/6002/", "snipts": "/api/public/snipt/?user=6002", "snipts_count": 1, "username": "creativehacker"}}