Jump to content


Photo

Form Variable


  • Please log in to reply
1 reply to this topic

#1 Chas267

Chas267
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 29 June 2006 - 08:14 PM

I have this form processor on my site, and it can be set up to use flat file,mysql,or none. I understand all of the other variables in mysql setup , but I've not seen this particular one before :
$mysqltable = "your mysql table";
Can it just be removed? Or, what do I put there?
Thanks,
Chas267

#2 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 29 June 2006 - 08:25 PM

No, you shouldn't remove it. The table that will be accessed, needs to be defined there.

The database structure looks something like:

[!--coloro:#3366FF--][span style=\"color:#3366FF\"][!--/coloro--]Database[!--colorc--][/span][!--/colorc--]-->[!--coloro:#3366FF--][span style=\"color:#3366FF\"][!--/coloro--]Table[!--colorc--][/span][!--/colorc--]-->[!--coloro:#3366FF--][span style=\"color:#3366FF\"][!--/coloro--]Fields/Columns[!--colorc--][/span][!--/colorc--] in table.
Ummm...I guess in simple terms, the database has tables, which have fields...these fields will have data that you can access/manipulate via your PHP script. I recommend you go read some tutorials before diving in blind. Might save you a lot of headaches.

[a href=\"http://www.php.net\" target=\"_blank\"]http://www.php.net[/a]
[a href=\"http://www.mysql.com\" target=\"_blank\"]http://www.mysql.com[/a]

PHP Ninja




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users