The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Sorry, you lost me
![]() My issue is that I want to create an AdminCP area that shows somethng like this: Current Default Credits = 3 Update Default Credits to ____ [Submit] The problem is, I am struggling to get the "3" I am pretty sure my solution will be on this page: http://www.php.net/manual/en/functio...etch-field.php Here is what I am fighting with at this moment: PHP Code:
Quote:
Quote:
I changed my code to use the sample from the PHP.net site so it looks like this: PHP Code:
Quote:
Oh yea, I confirmed I have the correct table and it sees the database and field as I edited the null value and refreshed my test script that the non tull value changed from 0 to 1. I tried changing my default value and it still shows as NULL? Some notes as I try to figure this out: $max_length is the length of the longest value for that field in the returned dataset, NOT the maximum length of data that column is designed to hold. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|