millers Posted May 7, 2008 Report Share Posted May 7, 2008 man ir problema tad kad es registrejos vinjs visu ievada ieksa datubaze iznemot loginu kapec logina ale ir tukss.. why? rekur code http://paste.php.lv/7314 Link to comment Share on other sites More sharing options...
bubu Posted May 7, 2008 Report Share Posted May 7, 2008 Kristāla zīlēšanas bumba saka, ka tev formā login input laukam name atribūts nesatur vērtību "logins". Kā arī tu programmē vai nu ar atslēgtiem kļūdu paziņojumiem display_errors=0 vai arī ne-E_ALL kļūdu paziņošanas režīmā. Un tas ir slikti. Link to comment Share on other sites More sharing options...
millers Posted May 7, 2008 Author Report Share Posted May 7, 2008 <form action="reg.php" method="post"> <p>logins:</p><input type="text" name="logins"> <p>Parole:</p><input type="password" name="parole"> <br> <input type="submit" value="apstiprinat"> Link to comment Share on other sites More sharing options...
pilots Posted May 7, 2008 Report Share Posted May 7, 2008 varbūt patiesi problēma ir datubāzes pusē. piemēram, kolonu vārdi nesakrīt kodā ar db.. ieslēdz errorus. Link to comment Share on other sites More sharing options...
mounkuls Posted May 7, 2008 Report Share Posted May 7, 2008 Daudz var būt problēmas tieši ar DB, kā izskatās. PHP itkā normāls. register globals būtību gan jau ka zini?... Vairāk velk uz mysql_query aplamībām.... Link to comment Share on other sites More sharing options...
bubu Posted May 7, 2008 Report Share Posted May 7, 2008 Kādām vēl mysql_query aplamībām, ja viņam kverija rezultāts pārbaudās ar or die(mysql_error()) ? Link to comment Share on other sites More sharing options...
mounkuls Posted May 7, 2008 Report Share Posted May 7, 2008 nu ok , ne kverija. Bet php kods ir ok. Un tas or die(mysql_error() jau ir tikai ja else nostrādā. Link to comment Share on other sites More sharing options...
millers Posted May 8, 2008 Author Report Share Posted May 8, 2008 thxx visiem ... kka tiku gala.. Link to comment Share on other sites More sharing options...
bubu Posted May 8, 2008 Report Share Posted May 8, 2008 Kā tas ir - "kkā"? Link to comment Share on other sites More sharing options...
millers Posted May 8, 2008 Author Report Share Posted May 8, 2008 kautkaa. Link to comment Share on other sites More sharing options...
bubu Posted May 8, 2008 Report Share Posted May 8, 2008 doh, nu to jau arī prasu - kā tieši tiki galā? Link to comment Share on other sites More sharing options...
Recommended Posts