I've stripped it down in order to find out the prob.
Basically the error is always the last line (a blank line)
of the code.
Thanks
----Ment2Excel (M2E)----
--LEARN BY EXAMPLE--
Hi,
This is what every link on the internet is saying - but have I have been through a couple of times and everything seems to be matching up...
--code--
<?php
#ensure all fields have entries
if ($email)
{
#connect to mysql
$conn=@mysql_connect("localhost", "ghanabla_gbsnweb", "ghana50")...
I have a very simple script - however no matter what I do I can not seem to get rid of this error that I keep getting:
Parse error: syntax error, unexpected $end in /home/ghanabla/public_html/scripts/subscribe.php on line 168
I have pasted the code below:
----code below----
<?php
#ensure...
Hi there,
I am in the middle of designing a page which use tables and images that "round" the corners of the tables.
The site appears fine in Firefox - However in IE6 I am getting two lines appearing between the navigation box and the yellow features box.
The page is here...
Hi there,
I have a very simple guestbook on my website
http://www.ment2excel.com/guestbook/guestbook-view.php
Today it seems it has been attacked by some random messages.
This is not the first time this has happend, but it has never been to this extent.
Is there anything that can be done to...
Hi there,
I've recently purchased a laptop for the purpose of doing PHP development - I would like to install PHP on there but first wanted to get advice on the best way to do this...I'm looking for an installation which will install all the necessary components (php, mysql, apache) with the...
Hi there - Happy New Year!!
I am trying to use the SELECT DISTINCT statement to create one list of email address I have which are in two different databases, I have tried the below syntax, but does not seem to work...can anyone please tell me where I am going wrong!!!
Thanks in advance...
I have around 150 items that I want to add to a drop-down list in Dreamweaver.
Currently they reside in an excel spreadsheet, is there a quick way to get this into Dreamweaver?
Thanks,
----Ment2Excel (M2E)----
--LEARN BY EXAMPLE--
Hi there,
I have developed for a friend the following site:
http://www.pulseconnect.com/
However no matter what I do, I can not get rid of the space
at the top of the page, how can I makesure that the
banner logo starts right at the top of the browser,
like this site...
I would like to run a SELECT script and be able to just display the number of records it returns - how would I do this?
Is there a built in function like num_rows which would do this?
----Ment2Excel (M2E)----
--LEARN BY EXAMPLE--
What is the quickest/easiest way to extract duplicate information from a database?
I have a database which consists of users details including email addresses. Some email addresses are repeated, so now I want to search for these and then delete the duplicate?
Is there way to do this through...
Having trouble creating a while loop to view records in my db (guestbook)
I keep getting the following error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/rgevans/public_html/guestbook/guestbook-view.php on line 139
this is my code - can...
I am creating a questionnaire on my site. When it is filled out, it checks to see if the person filling out the form is already in my database. If they're email address is already there, I perform an update statement, and update that email with the extra questionnaire information.
If the email...
Hi there,
Would like to know how (if possible) can I update a variable which I have created in another page?
for example in main.php i create a variable called $song
then in main2.php i am able to enter in a value and then update $song with this value?
Can this be done, or will I have to use...
Hi there,
I have a website which I use templates for. I now want to add some PHP in the template, and have found that I can create a new template as main.dwt.php and this works fine.
However I can not update the current template like this, as it then dis-associates itself from the other files...
Could someone please tell me how I can use PHP to load another page?
is it this - include_once('newpage.php');
basically, after a user enters in some information on a form, depending on the info, I want to direct them to a certain page?
Am i going about this the right way?
----Ment2Excel...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.