Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

PHP Query -character length

$
0
0

hi,

 

i need some help, in mysql query the output show as below :-

020000000000000000000790715035426   FIRSTNAME LASTNAME                                                              800                 000000000015900000000000013500000000000121700

but when i do

 <?php 
 $data1 = mysql_query("SELECT * FROM details_view WHERE hashtotal = '$id'") 
 or die(mysql_error()); 
 while($info1 = mysql_fetch_array( $data1 )) 
 { 
 print $info1['details'];
 } 
 ;
 ?>

the output is :-

020000000000000000000790715035426 FIRSTNAME LASTNAME 800 000000000015900000000000013500000000000121700

How to make the php query same character length as mysql query?

 

 

thank you.


Viewing all articles
Browse latest Browse all 13200

Trending Articles