generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

PHP DBO Help.

Previous Thread :: Next Thread 
cntkillme is not online. 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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
25 Oct 2013 09:23 PM
only*
Report Abuse
Meleos is not online. 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 is not online. 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
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image