Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to give a field a default value
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: How to give a field a default value
Parse error = your code is invalid regardless of where you put it.
I don't understand what your code is trying to do, more specifically, I don't understand the purpose of the database query.  If my guess is correct, you'd just put the following in the Default Value field:

Code:
<?=$sub.$build?>


My Blog
02-26-2013 09:30 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How to give a field a default value - JimR - 02-26-2013, 05:11 AM
RE: How to give a field a default value - ZiNgA BuRgA - 02-26-2013 09:30 AM

 Standard Tools
Forum Jump: