zero-perfoliate
zero-perfoliate

Author Topic: Reply to topic, Doesnt insert data into SQL Table `replys`  (Read 265 times)

Offline Scowen

  • New PHP Members
  • Posts: 1
  • Karma: +0/-0
Reply to topic, Doesnt insert data into SQL Table `replys`
« on: March 12, 2010, 01:32:57 PM »
Ive constructed the forums on my site, It is a PHP text based game you play in your browser, you all know the sort. So Ive come across this problem, Users are able to create topics and they view fine, they are just unable to reply to the topics, Ive gone over the code I dont know how many times, If anyone can help then that would be fantastic, The code is located in the .TXT file attached.


hotnoob

  • Guest
Re: Reply to topic, Doesnt insert data into SQL Table `replys`
« Reply #1 on: March 16, 2010, 07:26:00 AM »
put at the top of your script

Code: [Select]
<?php
ini_set
('display_errors''1');
?>


That should basically solve all of your problems, if you can understand how to read the error messages...
*it won't fix the problem, but it will help you find it*

if you get no error messages, try it on any other pages that the data is sent through.

Offline RoseKnight

  • PHP Help Guru's
  • ****
  • Posts: 52
  • Karma: +0/-0
Re: Reply to topic, Doesnt insert data into SQL Table `replys`
« Reply #2 on: March 21, 2010, 09:35:20 PM »
I realize this is several days old. (using as practice)

I see something strange with the way the databases are set-up.  It would probably help to see the database layout in order to find out whats wrong.