Je was op zoek naar: unserialize (Turks - Engels)

Turks

Vertalen

unserialize

Vertalen

Engels

Vertalen
Vertalen

Vertaal onmiddellijk teksten, documenten en gesprekken met Lara

Nu vertalen

Menselijke bijdragen

Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.

Voeg een vertaling toe

Turks

Engels

Info

Turks

unserialize

Engels

(php 3 = 3.0.5, php 4)

Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:

Turks

Örnek 2. unserialize() example

Engels

example 2. unserialize() example

Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:

Turks

this example complements the one described / / with function serialize / function. $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "select data from sessions where id = ?"); $sqldata = array ($php_auth_user); if (!odbc_execute ($stmt, $sqldata) _bar_ _bar_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}

Engels

?php / / here, we use unserialize() to load session data to the / / $session_data array from the string selected from a database. / / this example complements the one described with serialize(). $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "select data from sessions where id = ?"); $sqldata = array ($php_auth_user); if (!odbc_execute ($stmt, $sqldata) _bar_ _bar_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}?

Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:

Waarschuwing: Bevat onzichtbare HTML-opmaak

Krijg een betere vertaling met
10,256,747,544 menselijke bijdragen

Gebruikers vragen nu voor assistentie



Wij gebruiken cookies om u de best mogelijke ervaring op onze website te bieden. Door de website verder te gebruiken, geeft u toestemming voor het gebruik van cookies. Klik hier voor meer informatie. OK