FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mysqli and mysqli_field_len
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mysqli and mysqli_field_len [message #171581 is a reply to message #171578] Tue, 11 January 2011 09:56 Go to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Jan 10, 11:31 pm, DH <hockin...@gmail.com> wrote:
> I was migrating a large project from PHP's mysql functions to mysqli
> functions. One project relies on mysql_field_len() and I do NOT find a
> comparable mysqli_field_len().
>
> How the heck can one use mysqli to grab the defined field length for
> all columns?
>
> I can't believe mysqli_field_len() does not exist, and I don't find a
> new function to grab the defined length (sure, the data length can be
> fetched, but I don't care about that, for example I need the length
> 255 from varchar(255) or 30 from varchar(30)

Honestly, like this was difficult to find!

http://lmgtfy.com/?q=mysqli+field+length&l=1
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: More advanced PHP books
Next Topic: Need help with simple script ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 09:21:03 GMT 2024

Total time taken to generate the page: 0.04166 seconds