-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunciones.php
More file actions
41 lines (33 loc) · 864 Bytes
/
Copy pathfunciones.php
File metadata and controls
41 lines (33 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<uo><?php
include_once 'config.php';
include_once 'db_manager.php';
$query = "SELECT *
FROM `municipios`
LIMIT 0 , 60 ";
$res = executeQuery( $query);
while ($row = mysql_fetch_assoc($res)) {
?><li><a href="/municipio/<?php echo $row['id'];?>/"><?php echo $row['nombre'];?></a></li></th><?
$i++;
}
?></uo>
$query_municipios = "SELECT *
FROM `municipios`
LIMIT 0 , 60 ";
$query = "SELECT COUNT(*) FROM gente";
$res = executeQuery( $query);
print_r(mysql_fetch_assoc($res));
echo($query);
$query_insert = "INSERT INTO `Compermisos`.`gente` (
`id` ,
`username` ,
`name` ,
`img_url` ,
`mun_id` ,
`timestamp` ,
`token` ,
`token_secret`
)
VALUES (
'177619674', 'galanvecindad', 'galanvecindad', ' http://a2.twimg.com/sticky/default_profile_images/default_profile_1_normal.png', '5',
CURRENT_TIMESTAMP , 'cffff', 'dddddd'
);";