julio 29, 2015

Links Lynks

http://www.mrzuo.net/cyberlink-powerdirector-ultimate-13-0-2907-multilingual-incl-keygen/

http://codecanyon.net/item/parallax-slider-responsive-jquery-plugin/3217681

http://codecanyon.net/item/simple-admin/109100

http://audiolibrosespanol.com/

http://audiolibro.com.mx/

https://prezi.com/4qay9arppczy/mexico-el-contenido-importado/

http://tusoftwaresiemprefull.com/

http://www.audiomol.com

julio 16, 2015

cachar $_POST como entero PHP



    When you extract the number value directly from $_POST, its data type is a string.
    You could use is_numeric to check:

    Code:

    if (is_numeric($theNum)) {
        echo $theNum . " is a number";
    } else {
        echo $theNum . " is not a number";
    }

    or a regular expression

    Code:

    if (preg_match('/^\d+$/', $theNum)) {
        echo $theNum . " is a number";
    } else {
        echo $theNum . " is not a number";
    }

    If you want to cast to an integer data type:

    Code:

    $theNum = (int)$_POST['thenum'];
    echo is_int($theNum) ? 'Number' : 'Not'; //Number

    http://www.webdeveloper.com/forum/showthread.php?255676-is_int%28%29-not-working-returning-false

¿Cómo poner el conteo de las filas en una consulta en MySql?

 ¿Cómo poner el conteo de las filas en una consulta en MySql? SELECT  @rownum := @rownum + 1 AS contador,  /*Contador*/ t.*  /* nombre d...