daGrevis Posted May 31, 2010 Author Report Share Posted May 31, 2010 Var būt arī int vai bool, IMO. Quote Link to comment Share on other sites More sharing options...
bubu Posted May 31, 2010 Report Share Posted May 31, 2010 POST dati vienmēr atnāk ka string tipa mainīgie. Tos pārvērst par tev vajadzīgajiem ir tavs darbs. php to nevar uzminēt vai izzīlēt. Quote Link to comment Share on other sites More sharing options...
Леший Posted June 1, 2010 Report Share Posted June 1, 2010 Ir jau string, bet 70% gadījumos, tev tos ir jākonvertē, lai ar kaut ko salīdzinātu. Quote Link to comment Share on other sites More sharing options...
aldis Posted June 1, 2010 Report Share Posted June 1, 2010 Pareizāk nav teikt RAW formātā? :) Un tad skriptā pārkonvertē pa ko vajag, un raksti DB, failā (Bilžu, teksta)... Quote Link to comment Share on other sites More sharing options...
Леший Posted June 1, 2010 Report Share Posted June 1, 2010 aldis, PHP nav RAW tips. var_dump($_GET['var']) parādīs string. Quote Link to comment Share on other sites More sharing options...
Kavacky Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) Raw nav domāts datu tips, bet datu būtība. Kā tikko izgriezts gabals no medījuma, kas pats par sevi vēl nav nekas. ;) Tb tie vēl pat nav dati, tā ir tikai kaut kāda saņemta informācija. Edited June 2, 2010 by Kavacky Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.