cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Oct 2013 09:21 PM |
I've been learning DBO on PHP and I've encountered a weird problem.
First, I'll start off with this: if I am in the wrong forum, forgive me because there really is no literal phrase that says Lua code onle.
This is a page (form posts to this with text input "Input")
The code: require_once("config.php"); $Query = $Connection->prepare("INSERT INTO `users` VALUES ('', ?, ?)"); $Query->bindParam(1, $_POST["Input"], PDO::PARAM_STR, 12); $Query->bindParam(2, $_POST["Input"], PDO::PARAM_STR, 12); $Query->execute();
The problem: After it posts, they page loads and interrupts... |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
Meleos
|
  |
| Joined: 13 Oct 2013 |
| Total Posts: 171 |
|
|
| 25 Oct 2013 09:25 PM |
I'd help you if I knew more than just RBX.Lua - But I don't... However I will assure you in saying that this forum is designed for more than just Lua, though that is a common misconception.
Yours truly, Meleos |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 25 Oct 2013 09:45 PM |
| Probably the wrong place to ask, not a lot of people on ROBLOX know other programming languages. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2013 10:22 PM |
Unfortaintly, I looked only at the first part of the title, I thought you needed PHP help, I unfortaintly don't know anything about DBO though. I wish you luck with the internet for your search.
~Don't lose sanity yet, you still want to feel the little stuff. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Oct 2013 11:37 PM |
Well, I fixed it finally.
The problem was in the config script in which I set a property of DBO that messed it up. |
|
|
| Report Abuse |
|
|