Search found 16 matches
- Mon Apr 27, 2015 12:45 pm
- Forum: Beginner Help and Support
- Topic: registration page
- Replies: -1
- Views: 1006
registration page
I get error when try to registrate following one of old youtube videos. To make things short, I get error: "could not register" which comes from reguser.php, from code: $SQL = "INSERT into players(username, password, email, level, exper, attack, defence, hpoints, maxhp, spoints, maxsp...
- Mon Apr 27, 2015 5:53 am
- Forum: Older Browser MMO Videos
- Topic: Strange letter on battle.php
- Replies: -1
- Views: 2433
Re: Strange letter on battle.php
I change reference like you said and still have d»z at end.
- Sun Apr 26, 2015 7:11 pm
- Forum: Older Browser MMO Videos
- Topic: Strange letter on battle.php
- Replies: -1
- Views: 2433
Re: Strange letter on battle.php
When I change to single qoutes like this:
echo '<a href='attack.php?creature=$creature'>Attack!';
I get error:
Parse error: syntax error, unexpected 'attack' (T_STRING), expecting ',' or ';' in /home/vhosts/mojaigra.orgfree.com/battle.php on line 56
echo '<a href='attack.php?creature=$creature'>Attack!';
I get error:
Parse error: syntax error, unexpected 'attack' (T_STRING), expecting ',' or ';' in /home/vhosts/mojaigra.orgfree.com/battle.php on line 56
- Sun Apr 26, 2015 5:55 pm
- Forum: Older Browser MMO Videos
- Topic: Strange letter on battle.php
- Replies: -1
- Views: 2433
Strange letter on battle.php
on battle.php, at end, where it should be "Attack" I have this: Attack!d»z So I dont know where this d»z came from or how to remove it... everything works fine, but it bugs me to see it :D Here is how code looks like (but I doubt it is about the actual code...) echo "<a href='attack.p...
- Fri Apr 10, 2015 4:03 pm
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
Yes, this is solve now, and I will continue as I like your videos and way you are explaining!
- Thu Apr 09, 2015 9:14 am
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
I have manage to fix what was wrong. Apparently as Winawer said, I idnt write to call for connect to mysql as well as select db (I thought it is all done only by refering to points which was mention in my old connect.php. I maid new file called connectnew.php and placed it battle.php as include so n...
- Thu Apr 09, 2015 8:41 am
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
So your saying you are currently able to type in a username and password in your registration page and it adds the user to the database? If so, that's really odd! From what I am seeing is that your mysql credentials are incorrect that's why it is denying you access to mysql. In your connection file...
- Wed Apr 08, 2015 3:10 pm
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
But I use same connect.php file on registration page, and all data I send (username, password and email) are sent to my database and stored there, so connect.php is set up properlly, otherwise it would not work on registration page.hallsofvallhalla wrote:your username or password is wrong is the error it is giving you.
- Wed Apr 08, 2015 2:24 pm
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
Where?Winawer wrote:You're missing a call to mysql_connect().
- Wed Apr 08, 2015 2:24 pm
- Forum: Beginner Help and Support
- Topic: problem with strings (SOLVED)
- Replies: -1
- Views: 2855
Re: problem with strings
Yes. Should there be something else? I didnt had any problem before with it....SpiritWebb wrote:That the full connect file?SFC wrote:<?php
$dbhost = 'localhost';
$dbuser = '967798';
$dbpass = 'sarabeba';
$dbname = '967798';
?>