Search found 63 matches

by Cateyes
Fri Mar 31, 2006 6:48 pm
Forum: PHP - Code
Topic: header error
Replies: 2
Views: 840

well all I did was take out all the php stop and starts as I added coded I had it in its own code but by removing

Code: Select all

?>
<?php
and that fixed the headache.
by Cateyes
Fri Mar 31, 2006 2:16 pm
Forum: PHP - Code
Topic: header error
Replies: 2
Views: 840

header error

I am having a strange hiccup I can update the record but this bounces back to me Warning: Cannot modify header information - headers already sent by (output started at c:\xxx\xxxx\edit_student.php:14) in c:\xxx\xxxx\edit_student.php on line 65 I have tried just running the program from without the o...
by Cateyes
Mon Mar 27, 2006 3:19 pm
Forum: PHP - Code
Topic: Using Array to sort DB
Replies: 4
Views: 867

Well this is my final code I will tweak moew later but for now it sorts with the alphbet as well as putting anchors into place here is the code I need to clean it up kept making changes I believe some stuff isnt even uded now :) <?php require_once('../connect/db.php'); ?> <?php $alpha = array("...
by Cateyes
Fri Mar 24, 2006 3:04 pm
Forum: PHP - Code
Topic: Using Array to sort DB
Replies: 4
Views: 867

Tested the code it works the way you say it will not sure how to incorpoate it though I will look at it some more I am just missing something this is how I want it to look in output mode A Ashton Whatever B Blueboy Burns C Calliwell Caldwell Colin etc not sure if your code does that or just some of ...
by Cateyes
Fri Mar 24, 2006 2:31 pm
Forum: PHP - Code
Topic: Using Array to sort DB
Replies: 4
Views: 867

Using Array to sort DB

Ok I will hopefully get this I am trying to sort everything alphabetically so that once I have it working at the top I will have the alpha bet just so that they can skip down to the letter they want homwever I suck at understanding the exact code for variables I think I am headed in the right direct...
by Cateyes
Fri Mar 24, 2006 10:43 am
Forum: PHP - Code
Topic: [SOLVED] Inserting Array into Database
Replies: 2
Views: 616

Thanks again Feyd I feel like I have a direct line to you for how fast you respond you ever sleep? lol
by Cateyes
Fri Mar 24, 2006 10:19 am
Forum: PHP - Code
Topic: [SOLVED] Inserting Array into Database
Replies: 2
Views: 616

[SOLVED] Inserting Array into Database

Hey guys I was wondering if anyone could tell me why only the final person from the array is entered into the database I have 5 fields one that is id and auto_increment the other 4 would be first, last, user names as well as pw here is the code probably something simple I hope see what you think //D...
by Cateyes
Fri Mar 24, 2006 2:10 am
Forum: PHP - Code
Topic: [SOLVED] Array headache
Replies: 2
Views: 569

Thanks Feyd you seem to always have the answer I guess I do understand arrays just not how to retrieve them thank you for the help much appreciated.
by Cateyes
Fri Mar 24, 2006 1:01 am
Forum: PHP - Code
Topic: [SOLVED] Array headache
Replies: 2
Views: 569

[SOLVED] Array headache

Hi guys I am having a problem passing an array with post here is my first page code <form action="add_student_db.php" method="post" ENCTYPE="multipart/form-data"> <table cellpadding="2" cellspacing="2" border="1" width="100%"> <? ...
by Cateyes
Wed Oct 19, 2005 10:33 pm
Forum: PHP - Code
Topic: Updating date won't work
Replies: 7
Views: 1194

Yeah I am rewriting some code for a flash forum it hasnt been done since 2002 and am making it compatible with PHP5 and MySQL 5 as well as still work on the older systems one major bug I fixed was to get admin rights all you had to get right was the admin user name the person that programmed syill l...
by Cateyes
Wed Oct 19, 2005 9:18 pm
Forum: PHP - Code
Topic: Updating date won't work
Replies: 7
Views: 1194

$prefix is in the included config.php and Feyd was right I was using 'date' instead of $date what I don't understand is how I could make such a mistake. :oops:
by Cateyes
Wed Oct 19, 2005 8:49 pm
Forum: PHP - Code
Topic: Updating date won't work
Replies: 7
Views: 1194

well if I echo the $date it works it just doesnt update the database properly for example it echos 2005-10-19 7:49:38
but updates with 0000-00-00 00:00:00
by Cateyes
Wed Oct 19, 2005 7:03 pm
Forum: PHP - Code
Topic: Updating date won't work
Replies: 7
Views: 1194

Updating date won't work

Hi guys I am having a problem with my date updating everything else works in the code but my date shows up all as zero's here is the code: <?php ##Include configurations include("config.php"); $message = $_GET['message']; $userID = $_GET['userID']; $threadID = $_GET['threadID']; $connectio...
by Cateyes
Sun Sep 11, 2005 7:56 pm
Forum: PHP - Code
Topic: How to delete uploaded picture
Replies: 4
Views: 746

Yeah I found that out afterwards I tried remove and got nothing I find when you step away and come back you usually type in an easier search and like magic the answer is there. :wink:
by Cateyes
Sun Sep 11, 2005 3:18 pm
Forum: PHP - Code
Topic: sending multiple variables at once
Replies: 2
Views: 510

Feyd I tried every symbol I thought and I somehow missed the & command thanks again I think I need a break I used to know this by heart but a year of not programming and I seem to have forgotten all the simple commands.