If you don't like it, don't use it. Simple.
--Thanks for the release.
Printable View
Thanks guys, and thanks Dave for helping this fella while I wasn't here.
@CampingFaggot, where? simply reply here and I'll fix them if I had time.
@Jirachi, I gave a sample "includes/shop.php", few edits here and there and it should work using dbo.CashShop.
Oh thanks, I thought I had to find a different shop.php.
I have a bug
Notice: Undefined index: userid in ...\Gunz\includes\functions.php on line 296
Wait. I just looked back at this. First four words in your post are "I have a story."
...
Where in the name of pancakes is your story.
The story is the web, duh. Long time no see, Irvin.
It's your Apache server's configurations or the PHP.ini. Not the web's fault.
Undefined index PHP - Google
GOOGLE, MY FRIEND.
How to execute the file SQL? and where? i am newbie
What do i need exactly to edit in shop.php and make it work?
This is the error that I got when I when to the url ../index.php?page=shop
This is probably what you're getting mastergunz123.Code:Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near '-'. (severity 15) in C:\AppServ\www\infectivegunz\includes\shop.php on line 32
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\infectivegunz\includes\shop.php on line 32
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\infectivegunz\includes\shop.php on line 48
Currently there is no shop item! Please check back later!
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Type'. (severity 16) in C:\AppServ\www\infectivegunz\includes\shop.php on line 103
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\infectivegunz\includes\shop.php on line 103
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\infectivegunz\includes\shop.php on line 104
The pagination is the reason for the error "Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near '-'. (severity 15) in C:\AppServ\www\infectivegunz\includes\shop.php on line 32", and because it stops the line at the part where it says -, the rest of the query doesn't execute and gives the rest of the errors. And execute this to fix the error "Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Type'. (severity 16) in C:\AppServ\www\infectivegunz\includes\shop.php on line 103"
Code:Use [GunzDB]
ALTER TABLE CashShop ADD Type varchar(50)
I am not able to alter table D: a little tutorial? sorry for the disturb.
I've follow ur help and now i have this problem:
Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near '-'. (severity 15) in C:\AppServ\www\gunz\includes\shop.php on line 32
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\gunz\includes\shop.php on line 32
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\gunz\includes\shop.php on line 48
Currently there is no shop item! Please check back later!
I'm getting that too, but waiting for him to do something so I can buy it. >;)
No need to, I'm current coding a website that will be dropped here by Christmas.
I need to fix shop now..