View difference between Paste ID: zWxcNSZF and 33M4mRij
SHOW: | | - or go back to the newest paste.
1-
function actividad() {
1+
2-
    $act = false;
2+
3
    /* si hay data cambiamos $act */
4
    if($check_activity->num_rows > 0){
5
        $act = array();
6
        while($ac = $mysqli->fetch_assoc($check_activity)) {
7
            $act[] = $ac;
8
    }