Daniel0 Posted September 16, 2009 Share Posted September 16, 2009 Are forms tabular data? That depends. You can reasonably say that they are: [pre]--------------------------- | Name | Value | =========================== | First Name | __________ | | Last Name | __________ | | Email | __________ | ---------------------------[/pre] The thing is just that making them a table makes it difficult to style it differently, so you're better off not doing it. Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919610 Share on other sites More sharing options...
DEVILofDARKNESS Posted September 16, 2009 Share Posted September 16, 2009 so I should use php include? Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919619 Share on other sites More sharing options...
waynew Posted September 16, 2009 Share Posted September 16, 2009 so I should use php include? require("html/navigation_bar.php"); Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919622 Share on other sites More sharing options...
Adam Posted September 16, 2009 Share Posted September 16, 2009 Err, PHP includes? Templates? Uh yeah, but something has to trigger the change after the page has loaded. Ey? I think what DEVILofDARKNESS was meaning was to manually edit each file, as opposed to a single template that you just edit once? Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919648 Share on other sites More sharing options...
DEVILofDARKNESS Posted September 16, 2009 Share Posted September 16, 2009 Yes, but what is the difference between -include -require -require_once Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919664 Share on other sites More sharing options...
seventheyejosh Posted September 16, 2009 Share Posted September 16, 2009 From http://us3.php.net/manual/en/function.require.php , http://us3.php.net/manual/en/function.include.php , http://us3.php.net/manual/en/function.require-once.php , http://us3.php.net/manual/en/function.include-once.php require() is identical to include() except upon failure it will produce a fatal E_ERROR level error. In other words, it will halt the script whereas include() only emits a warning (E_WARNING) which allows the script to continue. The include() construct will emit a warning if it cannot find a file; this is different behavior from require(), which will emit a fatal error. The require_once() statement is identical to require() except PHP will check if the file has already been included, and if so, not include (require) it again. The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once. I always use require_once(), myself. Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919671 Share on other sites More sharing options...
corbin Posted September 16, 2009 Share Posted September 16, 2009 So.... You never asked a question. And I use either require or require_once, if that's your question. There are very few situations where I would ever not want the script to end if an include couldn't be included. Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919765 Share on other sites More sharing options...
seventheyejosh Posted September 16, 2009 Share Posted September 16, 2009 Are you saying I didn't ask a quesition? Because: Yes, but what is the difference between -include -require -require_once was what I was responding to, then stating that I usually use require_once(); Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919770 Share on other sites More sharing options...
corbin Posted September 16, 2009 Share Posted September 16, 2009 Oh wow.... I'm apparently retarded. Lol. Clicked a bunch of threads at once and some how managed to not notice that this was the third page. >.<. Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919772 Share on other sites More sharing options...
seventheyejosh Posted September 17, 2009 Share Posted September 17, 2009 LMAO ain't no thang Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919823 Share on other sites More sharing options...
corbin Posted September 17, 2009 Share Posted September 17, 2009 Now is when I pretend this thread never happened..... Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919831 Share on other sites More sharing options...
.josh Posted September 17, 2009 Share Posted September 17, 2009 paypal me $10 and it's gone. Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919836 Share on other sites More sharing options...
corbin Posted September 17, 2009 Share Posted September 17, 2009 I'm a stingy idiot . Quote Link to comment https://forums.phpfreaks.com/topic/173194-help-please-school-project/page/2/#findComment-919839 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.