Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya
You last visited: Today at 03:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Php

Discussion on [Help] Php within the Shaiya forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 24
Received Thanks: 11
[Help] Php

Can someone show me some example code for php that will access a specific field in a sql database and change the values of that field?
Shaiyasux is offline  
Old 09/22/2010, 07:47   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 24
Received Thanks: 11
Google? Mmmyes. Why come to this forum? To Google.....

Further more, if you're going to google it for me, haha, why not be lazy?
Shaiyasux is offline  
Old 09/22/2010, 18:36   #3
 
nXu's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 208
Received Thanks: 40
First: i hate your name.
Second: this is a shaiya forum, not php
Fourth: i am bad at maths.

1) Learn SQL basics:
2) Learn specific PHP+MSSQL:
3) The most important:
It's so funny when people click on that.
nXu is offline  
Thanks
1 User
Old 09/22/2010, 20:52   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 24
Received Thanks: 11
hahahaha deleted post.... I saved the link thx...... I wont ask anything more of you people since you don't seem to know what a joke is... Also, I love my name but i respect your opinion. I have another question however if I may: What is appropriate to ask of in this forum? A simple question that IS related to and talked about all over this forum is php / sql. If I'm wrong then I'll try to erase from my mind everything I've Googled* and read from THIS forum over the past few months. Thanks for the condescending help...
Shaiyasux is offline  
Old 09/22/2010, 22:26   #5
 
nXu's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 208
Received Thanks: 40
Man: If you really want to know php/sql, learn it. I gave you 3.. ergh, 2 google searches, so you don't have to type that 10 characters ("sql basics").
Little hint: search for SELECT ... FROM ... WHERE ... to read and UPDATE ... SET ... WHERE ... to modify, after mssql_connect and mssql_select_db =)

Quote:
Originally Posted by Shaiyasux
I saved the link thx.
You're welcome.

Quote:
Originally Posted by Shaiyasux
I wont ask anything more of you people since you don't seem to know what a joke is
Yup, i'm a humorless b.stard who only hurts people and makes them cry. I'm living alone on an island 'cause i was banned from every country of the world for molesting lil children.

Quote:
Originally Posted by Shaiyasux
Also, I love my name but i respect your opinion.
It was nothing personal, didn't want to hurt you, but i don't like the "word" Shaiya Sux

Quote:
Originally Posted by Shaiyasux View Post
IS related to and talked about all over this forum is php / sql.
I don't get it, how is Shaiya and PHP/SQL related? Web stuff for pservers? Oh, that goes to PServer section, if it's the Shaiya side (which Table to use, etc). If it's PHP problem, let's go to php.net or any tech forum.

However, if you have any Shaiya questions, i'm here to answer as i can.

With love from Srí Lanka:
nXu
nXu is offline  
Old 09/23/2010, 00:30   #6
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
Quote:
Originally Posted by nXu
You're welcome.
He refers to my post which I deleted after his rude answer. I'm surprised you answered at all O.o
ProfNerwosol is offline  
Old 09/23/2010, 00:42   #7
 
nXu's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 208
Received Thanks: 40
I see. Nevermind, i like lazy guys - they are just like me.
nXu is offline  
Old 09/23/2010, 01:11   #8
 
elite*gold: 0
Join Date: May 2009
Posts: 24
Received Thanks: 11
Oh relax... Did I ask for Google results? Did I ask someone to teach me everything there is to know about Php? ....No. I asked for a simple piece of sample code- that's it! Do me a favor while you're being more active and smarter than myself: Scroll up and search shaiya php or shaiya sql. Did you get any results? RELEVANCE. You learned a new word today I think. Anyway, I did say thanks to both of you....
Shaiyasux is offline  
Old 09/23/2010, 01:18   #9
 
nXu's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 208
Received Thanks: 40
I gave you two functions you need to use. It can be considered as a source code.
The last is the mssql_query.

And topic is closed from now on.
nXu is offline  
Closed Thread




All times are GMT +1. The time now is 03:41.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.