Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[RevCMS] #1136 / Values.. [URGENT]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="funkystrainz" data-source="post: 393699" data-attributes="member: 71720"><p>I've been trying a few different things to be able to get my database to update with submitted entries. This is just the only time there was something that communicated with me from the database. I thought if I inserted the matching values from one of my CMS pages, into my users table using a query (written in PHP, from my CMS), that it would somehow allow for the submitted data from placeholders to translate into updated rows in my database. </p><p></p><p>I'll keep trying other things. Probably like trying to get the placeholders to submit their information from the reg page. Like with this script: </p><p></p><p>[CODE]final public function validName($username) </p><p> {</p><p> if(strlen($username) <= 25 && ctype_alnum($username)) </p><p> { </p><p> return true; </p><p> } </p><p> </p><p> return false; </p><p> } </p><p> </p><p> final public function validEmail($email) </p><p> { </p><p> return preg_match("/^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i", $email); </p><p> } </p><p> </p><p> final public function validSecKey($seckey)</p><p> {</p><p> if(is_numeric($seckey) && strlen($seckey) == 4)</p><p> {</p><p> return true;</p><p> }</p><p> </p><p> return false;</p><p> }[/CODE]</p></blockquote><p></p>
[QUOTE="funkystrainz, post: 393699, member: 71720"] I've been trying a few different things to be able to get my database to update with submitted entries. This is just the only time there was something that communicated with me from the database. I thought if I inserted the matching values from one of my CMS pages, into my users table using a query (written in PHP, from my CMS), that it would somehow allow for the submitted data from placeholders to translate into updated rows in my database. I'll keep trying other things. Probably like trying to get the placeholders to submit their information from the reg page. Like with this script: [CODE]final public function validName($username) { if(strlen($username) <= 25 && ctype_alnum($username)) { return true; } return false; } final public function validEmail($email) { return preg_match("/^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i", $email); } final public function validSecKey($seckey) { if(is_numeric($seckey) && strlen($seckey) == 4) { return true; } return false; }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[RevCMS] #1136 / Values.. [URGENT]
Top