Search found 16 matches

by SFC
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...
by SFC
Mon Apr 27, 2015 5:53 am
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2437

Re: Strange letter on battle.php

I change reference like you said and still have d»z at end.
by SFC
Sun Apr 26, 2015 7:11 pm
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2437

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
by SFC
Sun Apr 26, 2015 5:55 pm
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2437

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...
by SFC
Fri Apr 10, 2015 4:03 pm
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

Re: problem with strings

Yes, this is solve now, and I will continue as I like your videos and way you are explaining!
by SFC
Thu Apr 09, 2015 9:14 am
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

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...
by SFC
Thu Apr 09, 2015 8:41 am
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

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...
by SFC
Wed Apr 08, 2015 3:10 pm
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

Re: problem with strings

hallsofvallhalla wrote:your username or password is wrong is the error it is giving you.
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.
by SFC
Wed Apr 08, 2015 2:24 pm
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

Re: problem with strings

Winawer wrote:You're missing a call to mysql_connect().
Where?
by SFC
Wed Apr 08, 2015 2:24 pm
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

Re: problem with strings

SpiritWebb wrote:
SFC wrote:<?php
$dbhost = 'localhost';
$dbuser = '967798';
$dbpass = 'sarabeba';
$dbname = '967798';
?>
That the full connect file?
Yes. Should there be something else? I didnt had any problem before with it....

Go to advanced search