mysql_field_len Fonksiyonu
Gönderildi: admin tarafından 31-07-2008 Saat 01:44
Sorgudan dönen sonuç tablosundaki belirtilen satırdaki hücrede yer alan karakter sayısını döndürür.
Kullanımı;
Örnek:
Kullanımı;
PHP- Kodu:
int mysql_field_len ( resource $result , int $field_offset )
PHP- Kodu:
<?php
$result = mysql_query("SELECT id,email FROM people WHERE id = '42'");
if (!$result) {
echo 'Could not run query: ' . mysql_error();
exit;
}
// Will get the length of the id field as specified in the database
// schema.
$length = mysql_field_len($result, 0);
echo $length;
?> Toplam Yorum 0
Yorumlar
Toplam Trackback 0
Trackbacks
admin Tarafından Son Blog Kayıtları
- Domain Status (21-10-2008)
- Yottabyte, Zettabyte, Exabyte, Petabyte, Terabyte, Gigabyte, Megabyte (09-10-2008)
- Link Değişim Kuralları (02-10-2008)
- Google Monitör (15-09-2008)
- Paypal Hesabınızdaki Para 5$'a ayağınıza Gelsin (15-09-2008)





