[Tutorial] Creating dynamic signatures using PHP and MySQL.
#21

Quote:
Originally Posted by Nodroz
View Post
Are you loading the correct information from your mysql database ?
yes.
Reply
#22

Quote:
Originally Posted by Unknown123
View Post
yes.
We fixed on teamviewer. In case there is still something not clear, just pm me.
Reply
#23

Quote:
Originally Posted by Nodroz
View Post
We fixed on teamviewer. In case there is still something not clear, just pm me.
yes, thanks. is it possible to do this with SQLite too? or just MySQL?
Reply
#24

Question : Could i make something like this with SQLite ?
Reply
#25

Nodroz, could you fix this?
This is an error many users get:
PHP Notice: Undefined variable: i in C:/Users/blabla on line (the line which stores the MYSQL data)
The error is at a line that stores the MYSQL data in a variable
PHP Code:

$Kills
=mysql_result($result,$i,"Kills");
    
$Deaths=mysql_result($result,$i,"Deaths"); 
You have to define "$i".

(I can't do that because I am not really good with PHP)
Reply
#26

Guys, sorry, but I don't have time right now to answer your questions. My exams are started and I'm kind of short in time.

I'll take a break sooner or laater, then I'll look at your problems. Sorry for the delay!

Regards,
Nodroz
Reply
#27

Tutorial is great, helped me alot!

Keep up the good work!
Reply
#28

Sorry for the delay, but I have updated my tutorial.

I've implented that if a type in a username that doesn't exist, it'll give an error.
Reply
#29

Quote:
Originally Posted by Zonoya
Посмотреть сообщение
too bad i dont know any free forums that can use PHP D:
Hmm, how you mean? The signature provided with the php code is converted to a .png image, which can be used everywhere using the [IMG]mypicture[/IMG] tags.

I'll try to search some information about the .ini system, once I'm experienced enough with that, I will make another tutorial.
Reply
#30

no i mean sites i can use PHP with lolz i haven't found any yet and WAMP crashes on me D:
Reply
#31

There are plenty of free webhosting services which suppport php.
Reply
#32

I've got a question about some of your code:
PHP код:
mysql_connect($host,$username,$password); // Connection to the database. 
@mysql_select_db($database) or die( "Unable to select database. Be sure the databasename exists and online is."); 
What does the '@' symbol do?
Reply
#33

can u point me to any Nod
Reply
#34

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
I've got a question about some of your code:
PHP код:
mysql_connect($host,$username,$password); // Connection to the database. 
@mysql_select_db($database) or die( "Unable to select database. Be sure the databasename exists and online is."); 
What does the '@' symbol do?
Hello,

The @ doesn't do anythign actually, so it's unnecesarily. Sorry, I guess I was somewhere else with my thoughs.
Reply
#35

Im still after a site with PHP anyone help me?
Reply
#36

never mind i found one xD
Reply
#37

Quote:
Originally Posted by Nodroz
Посмотреть сообщение
Hello,

The @ doesn't do anythign actually, so it's unnecesarily. Sorry, I guess I was somewhere else with my thoughs.
I think you should completely understand PHP, before making tutorials. @ is used to suppress errors given out by that function.
Reply
#38

Quote:
Originally Posted by XFlawless
Посмотреть сообщение
I think you should completely understand PHP, before making tutorials. @ is used to suppress errors given out by that function.
Well, yeah, I have to admit I'm kind of new to PHP. However, I tried to share my skills to the community.
Reply
#39

This is a hard way, but a good way to learn it
The community is now giving you feedback which makes you learn new things again,

btw i never used/knew that "@" supresses errors lol
Reply
#40

Beatiful, i'm gonna check this out.

Edit: What "@" is used for?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)