Welcome, Guest.
Login
|
Register
Username:
Password:
Remember me:
Comments for Skittles
<<
<
>
>>
LinkZelda
22 Nov 2012 06:27
Here's the pseudo code:
I won't use semicolons because I can't be bothered.
$username
$p1
$p2
$email; //These are defined in the real script
$link=mysqli_connect();//parameters are defined here
$stmt=mysqli_stmt_init($link);
mysqli_stmt_prepare($stmt, "SELECT Username FROM members where Username=?"
mysqli_bind_param($stmt, "s", $user)
mysqli_stmt_execute(//previous query)
$result=mysqli_store_result($link)
settype($result, "bool"
mysqli_stmt_close($stmt)
So basically it checks if the username is in use.
The problem then comes when I try to do another prepared statement to insert
the values into the database. The error is that mysqli_stmt_bind_param isn't recognised as a function. I think it's to do with the table structure:
id, Username, Password, e-mail
and I skip id.
LinkZelda
21 Nov 2012 20:15
I may need web dev help.
Dsifor3dsboi
20 Nov 2012 19:56
Yo, broski.
Add me on da 3ds
BloodyMarthy
19 Nov 2012 23:40
Thanks c:
Chanishyy
08 Nov 2012 17:43
http://dsipaint.com/forums/forum_thread.php?thread=14319
See link for more information.
JaMyahCute
04 Nov 2012 15:45
Heyy
EpicArtifex
03 Nov 2012 17:53
Nice to hear you've joined the dark side. We will be sending you your complementary gifts in the mail.
And I think what you did was just provide a description of Atheism in my profile comments for whatever reason.
EpicArtifex
03 Nov 2012 13:16
I can't help but shake the feeling you've given me a very similar greeting at some point in the past.
Austin.H
03 Nov 2012 06:17
Oh ok lol.
Austin.H
03 Nov 2012 06:07
Hey man u remember me?
<<
<
>
>>
Nintendo 3DS is ™ Nintendo Co. Ltd. This website is ©2009-2024 HullBreach Studios. All rights reserved. Members are responsible for their own content. No account information will be given to third-parties without your consent.