Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 06:52:03 AM

Login with username, password and session length
  • Total Members: 3842
  • Latest: Kokoro
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 49
Total: 49

Author Topic: submit form to db  (Read 3407 times)

0 Members and 1 Guest are viewing this topic.

Offline propyl

  • Newbie
  • *
  • Posts: 4
submit form to db
« on: April 20, 2013, 06:57:31 AM »
Hi guys, im no php programmer at all but I can stumble along through it ok most times.

I have what's hopefully a very simple noob question.

I basically what to put a form with a text box and a couple of option boxes in a php block and submit it to a table in my main smf database. I can read and write from the database ok without problems i am just not sure about dealing with the form in a php block? I was looking at the generic application block code but its so loaded with options that its been hard for me to digest the basic simple elements of the form submission.  I am using SMF 2 and TP 1 for what its worth.

Offline propyl

  • Newbie
  • *
  • Posts: 4
Re: submit form to db
« Reply #1 on: April 20, 2013, 08:11:31 AM »
Scratch that, got it working!


This guy had enough of what i needed to get moving.


Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: submit form to db
« Reply #2 on: April 20, 2013, 05:32:48 PM »
Awesome. Glad you found that. It's a pretty basic concept once you see it.