oh yeah, I'm not sure if this is the right db field format?
name, varchar, NoNull
subject, varchar, NoNull
message, varchar, NoNull
date, date, NoNull, 000-00-00
ID, int, NoNull, 0 (doesn't increment when data entered?)
and I've indexed the table on ID for which does crap?
any better ways?
Search found 8 matches
- Tue Nov 29, 2005 3:21 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
- Tue Nov 29, 2005 3:15 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
Yeah that works but it only posts todays date for all the posts no matter what date i enter? // 2000-12-12 Formatted Date → Tue 29th Nov 05 // gg ggggggggggggggg I really want it to post date posted(in formatted date style Tue 29th Nov 05 Subject Message From todays date onwards? thanks for all the ...
- Mon Nov 28, 2005 12:18 pm
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
Don't know what I've done wrong? This is in the news.php which posts the db data. I get this Parse error: parse error, unexpected T_STRING in news/news.php on line 27 ??? Where should I put this code? mysql_connect($db_host,$db_username,$db_password) or die(mysql_error()); mysql_select_db($db_name) ...
- Mon Nov 28, 2005 7:32 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
- Mon Nov 28, 2005 6:56 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
- Mon Nov 28, 2005 6:24 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
that's awesome advice, I'm really a bit naive in thinking that that sort of hacking won't happen to me, thanks for switching me on to it :) How can I change my date ourput to eg. Mon 28th Nov 2005? and also how can I create some sort of admin section where I can access my database and change it's va...
- Sun Nov 27, 2005 5:31 am
- Forum: PHP - Code
- Topic: news post help
- Replies: 15
- Views: 649
news post help
Sami | Please use and tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color] hi guys, I'm looking for some pretty basic help with my news post. I just need someone that knows php to help me out with these php ...
- Mon Nov 21, 2005 7:45 pm
- Forum: PHP - Code
- Topic: create a gig guide
- Replies: 0
- Views: 174
create a gig guide
Hello people!! I hope you can help me out here. I need some direction in making a gig guide for my website. What i want to do is when you open the page up, it will display whats on for the current day, eg. monday 21st november 2005, at the top of the page and follow with the rest of the week/month. ...