Click here to Skip to main content
15,886,857 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Manually redirect to error.php & send 404 in HTTP header? Pin
User 741604616-Dec-10 11:15
User 741604616-Dec-10 11:15 
GeneralRe: Manually redirect to error.php & send 404 in HTTP header? Pin
User 741604616-Dec-10 12:15
User 741604616-Dec-10 12:15 
QuestionWeb Services, WSDL and SOAP Pin
Dills100215-Dec-10 1:23
Dills100215-Dec-10 1:23 
QuestionLive update of data? Pin
MacRaider413-Dec-10 6:37
MacRaider413-Dec-10 6:37 
AnswerRe: Live update of data? Pin
cjoki13-Dec-10 11:39
cjoki13-Dec-10 11:39 
Questionmultiple tables Pin
MacRaider48-Dec-10 2:18
MacRaider48-Dec-10 2:18 
AnswerRe: multiple tables [modified] Pin
cjoki8-Dec-10 9:59
cjoki8-Dec-10 9:59 
GeneralRe: multiple tables Pin
MacRaider48-Dec-10 12:53
MacRaider48-Dec-10 12:53 
The code wasn't displayed properly, for some reason it kept trying to parse it even though I had it in the code block, not sure what I did wrong there.
Anyways, I got it to work (kinda) on my own during the day. However the problem I'm running into (if it is a problem) is that I'm not able to get more than one "include" to work. Am I limited to one or am I doing it wrong. I was trying something like the following:
<?php
include('config.php');
include('format.php');
//bunch of other stuff
//then something like
basic("Portland","Collection");
//basic holds the "function" that displays the table in the proper format based on those two variables.
?>

just an example as I can't remember what it was off had as it's at work but config has the database info in it and the format has basically what I posted above (i.e. the table layouts). Also to get it to work I had to put everything in config.php

just a side note, the above code droped the <`?php (minus the ` in it) (still not sure what I'm doing wrong there...
GeneralRe: multiple tables Pin
cjoki9-Dec-10 4:57
cjoki9-Dec-10 4:57 
GeneralRe: multiple tables Pin
MacRaider49-Dec-10 5:18
MacRaider49-Dec-10 5:18 
QuestionChanging the content of a div tag help required Pin
djhankypark6-Dec-10 2:25
djhankypark6-Dec-10 2:25 
AnswerRe: Changing the content of a div tag help required Pin
cjoki6-Dec-10 4:25
cjoki6-Dec-10 4:25 
AnswerRe: Changing the content of a div tag help required Pin
Yvan Rodrigues12-Dec-10 13:45
professionalYvan Rodrigues12-Dec-10 13:45 
QuestionHow to make a binary tree structure in php Pin
amanarora3-Dec-10 18:43
amanarora3-Dec-10 18:43 
AnswerRe: How to make a binary tree structure in php Pin
Dr.Walt Fair, PE12-Dec-10 12:31
professionalDr.Walt Fair, PE12-Dec-10 12:31 
GeneralRe: How to make a binary tree structure in php Pin
amanarora12-Dec-10 20:28
amanarora12-Dec-10 20:28 
QuestionNot able to debug my application Pin
PeriyasamyRamachandran3-Dec-10 3:37
PeriyasamyRamachandran3-Dec-10 3:37 
QuestionNot able to log in - Fatal error [modified] Pin
PeriyasamyRamachandran2-Dec-10 22:25
PeriyasamyRamachandran2-Dec-10 22:25 
QuestionUsing Perl to automate the software installation build process Pin
Blair Symes2-Dec-10 6:34
Blair Symes2-Dec-10 6:34 
Questionbreadcrumbs Pin
AndyInUK29-Nov-10 23:21
AndyInUK29-Nov-10 23:21 
AnswerRe: breadcrumbs Pin
cjoki30-Nov-10 6:26
cjoki30-Nov-10 6:26 
GeneralRe: breadcrumbs Pin
AndyInUK1-Dec-10 5:48
AndyInUK1-Dec-10 5:48 
GeneralRe: breadcrumbs Pin
Luc Pattyn1-Dec-10 6:15
sitebuilderLuc Pattyn1-Dec-10 6:15 
GeneralRe: breadcrumbs [modified] Pin
cjoki2-Dec-10 6:29
cjoki2-Dec-10 6:29 
AnswerRe: breadcrumbs Pin
Christian Mattix18-Jan-11 9:27
Christian Mattix18-Jan-11 9:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.