Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    [php] mysql_real_query ?

    l'errore
    Fatal error: Call to undefined function mysql_real_query() in ...
    la funzione (www.php.net/mysql_real_query/)
    mysqli_real_query

    (PHP 5)
    mysqli_real_query

    (no version information, might be only in CVS)
    mysqli->real_query -- Execute an SQL query
    nel manuale mysql (http://dev.mysql.com/doc/mysql/en/mysql_real_query.html)
    You must use mysql_real_query() rather than mysql_query() for queries that contain binary data, because binary data may contain the `\0' character. In addition, mysql_real_query() is faster than mysql_query() because it does not call strlen() on the query string.
    :master:
    Totò, vero ma strano
    www.ateicos.com

  2. #2
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858
    quella funzione è stata introdotta con php5...
    think simple think ringo

  3. #3
    Originariamente inviato da marketto
    quella funzione è stata introdotta con php5...
    sto usando php5! è questo che non mi spiego!

    PHP Version 5.0.2
    Totò, vero ma strano
    www.ateicos.com

  4. #4
    ciechi tutti e due.....

    codice:
    mysqli_real_query
    
    (no version information, might be only in CVS)
    mysqli->real_query -- Execute an SQL query
    quella I li non vi dice nulla?
    e poi dice che "potrebbe essere SOLO nel CVS" quindi anche se non c'è non ci fa nulla ^^

    :P

    sciauz
    The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand

  5. #5
    Originariamente inviato da daniele_dll
    ciechi tutti e due.....

    codice:
    mysqli_real_query
    
    (no version information, might be only in CVS)
    mysqli->real_query -- Execute an SQL query
    quella I li non vi dice nulla?
    e poi dice che "potrebbe essere SOLO nel CVS" quindi anche se non c'è non ci fa nulla ^^

    :P

    sciauz
    in nottata sono riuscito a fare quello che volevo

    praticamente nel file php.ini ho disabilitato php_mysql.dll

    e ho abilitato "inserendolo" php_mysqli.dll

    quindi ho copiato c:\php5\ext\php_mysqli.dll e c:\php5\libmysqli.dll in c:\winnt\system32 (sistemi NT)

    per chi avesse phpmyadmin, cambiate il tipo di connessione da mysql a mysqli nel file config.inc.php
    Totò, vero ma strano
    www.ateicos.com

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.