• (3 Pages)
  • +
  • 1
  • 2
  • 3

Text Based Mafia Game || Database with Connection Part 1. Rate Topic: ***** 3 Votes

#31 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10459
  • View blog
  • Posts: 40,379
  • Joined: 12-June 08

Posted 23 April 2014 - 07:02 AM

The error is pretty clear - there's something wrong with your bracing, or the interpretation of your bracing.

Just a quick once over and I would think to look here:

085	      <? 

Was This Post Helpful? 0
  • +
  • -

#32 JayLewis  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 30-April 15

Posted 30 April 2015 - 09:24 AM

I used you code and made this > www.scousemafia.co.uk
Was This Post Helpful? 0
  • +
  • -

#33 Coder21  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 06-May 15

Posted 06 May 2015 - 08:53 AM

I get this error on my index page

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/thedark7/public_html/connect.php on line 16


Then when my account is created and I login I get this error

Not Found

The requested URL /Usersonline.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Can anyone help?
Was This Post Helpful? 0
  • +
  • -

#34 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10459
  • View blog
  • Posts: 40,379
  • Joined: 12-June 08

Posted 06 May 2015 - 09:12 AM

For the 'Deprecated' bit, read the header at the top of this tutorial. The tutorial is five years old, and you will need to bring it up to speed if you are wanting to use it.
Was This Post Helpful? 0
  • +
  • -

#35 Coder21  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 06-May 15

Posted 10 May 2015 - 10:47 AM

View Postmodi123_1, on 06 May 2015 - 09:12 AM, said:

For the 'Deprecated' bit, read the header at the top of this tutorial. The tutorial is five years old, and you will need to bring it up to speed if you are wanting to use it.



I no longer have this problem but now have this error on my Usersonline.php page

Table 'thedark7_tmp1.crimetimes' doesn't exist

Can you help?
Was This Post Helpful? 0
  • +
  • -

#36 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10459
  • View blog
  • Posts: 40,379
  • Joined: 12-June 08

Posted 10 May 2015 - 10:49 AM

Please do not duplicate post your issue across multiple threads. See this post:
http://www.dreaminco...ost__p__2151772
Was This Post Helpful? 0
  • +
  • -

#37 D.W. Shaw  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-July 15

Posted 18 July 2015 - 03:30 AM

Im using this tutorial and thanks to the replies i got past my first obstacle which made me prolong the process for another day due to frustration, heres what i noticed:

the <? gives an error involving actually sending the form submission into the database, so use <?php

there was an error with the first pasting the OP put so his reply on the same page was the test.php i used, im going to try test2.php and then reread the topic for further analysis before moving on.


Thanks
Was This Post Helpful? 0
  • +
  • -

#38 D.W. Shaw  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-July 15

Posted 20 July 2015 - 07:50 PM

Ive gotten past the test2.php page with minor errors. I will definitely be replacing the bad code with fresh mysql in the tutorials and then with mysqli
Was This Post Helpful? 0
  • +
  • -

#39 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10459
  • View blog
  • Posts: 40,379
  • Joined: 12-June 08

Posted 20 July 2015 - 07:55 PM

Care to share what the bugs were?
Was This Post Helpful? 0
  • +
  • -

#40 D.W. Shaw  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-July 15

Posted 20 July 2015 - 08:11 PM

sure give me a few minutes and is there a button where i can edit my replies?
Was This Post Helpful? 0
  • +
  • -

#41 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10459
  • View blog
  • Posts: 40,379
  • Joined: 12-June 08

Posted 20 July 2015 - 08:12 PM

Just reply to the thread.

Extra info:
http://www.dreaminco...-to-edit-times/
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3