This is a discussion on "[SOLVED] PHP database code issue" within the PHP Forum section. This forum, and the thread "[SOLVED] PHP database code issue are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] PHP database code issue
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
Re: PHP database code issue
when the page blank, look at the source. anything there?
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
Last edited by acrikey; Mar 26th, 2008 at 11:08. |
|
||||
|
Re: PHP database code issue
is it saved as a .php file?
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
yes
|
|
||||
|
Re: PHP database code issue
is this on your local machine or a host? Does your host support PHP?
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
http://www.lightex.co.uk/fieldworks/accountdetails.php
Alert Box UN: test Alert box PW: webforumz site UN: webforumz site PW: webforumz |
|
||||
|
Re: PHP database code issue
host and yes they can support php5
|
|
||||
|
Re: PHP database code issue
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
Still blank and the ob is removed
|
|
||||
|
Re: PHP database code issue
just as a test, insert this somewhere in your PHP code:
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
Still blank, nothing returned
|
|
||||
|
Re: PHP database code issue
are any other PHP pages working?
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
none with this code but others yes
|
|
||||
|
Re: PHP database code issue
hmmmm
contact your host. tell them nothing is displaying, including errors.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
But surely it must be the code because, it displays until I put the db code in the script
|
|
||||
|
Re: PHP database code issue
im pretty sure it is the code also, but the code must have a fatal error if its not displaying anything, and its not showing the fatal error. so contact your host about its PHP error settings.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: PHP database code issue
hang on I'll just run a quick test, bare with me
|
|
||||
|
Re: PHP database code issue
yep, there were several errors in the code. I debugged em, so use this code:
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote> |