Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jon75

Pages: [1]
1
Technical Help / Re: HTML topics
« on: Monday 29 May 06 10:53 BST (UK)  »
Hi all,

With the first PHP example given I saw that a simple " ; " was missing. To include data in and existing file pulled from another file the following should work fine.

index.php example:

Code: [Select]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>

<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
  <tr>
    <td>The data from your normal page in here.</td>
  </tr>
  <tr>
    <td> <?php include ("path/to/yourdata.php"); ?> </td>
  </tr>
  <tr>
    <td>The data from your normal page in here.</td>
  </tr>
</table>


</body>
</html>


The yourdata.php will contain the data that you wish to include. This also could be any extension e.g yourdata.html.

The code you tried earlier was:
Code: [Select]

<? include "xxx.html" ?>


You can see that I have changed this to:
Code: [Select]

<?php include ("path/to/yourdata.php"); ?>


If yourdata.php is in the same folder as the index.php you can drop the path/to/ part. You can also drop it if you have a base href in you head section.

Hope that is of some help to you.

Kind regards.

2
Technical Help / Re: HTML topics
« on: Sunday 28 May 06 10:22 BST (UK)  »
Hi Malcom,

Did you have any joy getting your code to work?

If not, I do believe I see whathe problem is. Please let me know if you need any further assistance.

Kind regards.

3
Technical Help / Re: MSN Messanger Help Needed
« on: Saturday 15 April 06 18:58 BST (UK)  »
Hi Chris,

Thanks for the welcome.
Forgive me, I did not intend ti imply that you were dumb.  :-[

Glad that your problem is sorted. MSN can be abit of a pain sometimes.

Thanks again for the welcome. Hope to catch you about the boards again.

Kind regards.

Jon.

P.S Happy easter to you and yours also.

4
Technical Help / Re: MSN Messanger Help Needed
« on: Saturday 15 April 06 18:05 BST (UK)  »
Hi,

You have probably allready checked this simple theory but I know of people who have missed it sometimes.

When you or your friend sign into MSN make sure that your status is ONLINE and not APPEAR OFFLINE. Simple I know, but you could have missed it.

Hope it is that.

Kind regards.
Jon

5
Technical Help / Re: erm... how do I build a proper database?
« on: Sunday 09 April 06 19:40 BST (UK)  »
Hi all,

I have used phpgedview before and personally think it is abit too cluttered for what it is.
The best thing for you to do is to get a good host with the ablity to use PHP and MySQL. Then do what I did, create a simple php search/results script.

It is also more satisfying when you have done the work yourself.  ;)

I would be gald to help you with the script if needed,  ;D

Kind regards.

6
Technical Help / Re: HTML Validation Results??
« on: Sunday 09 April 06 19:34 BST (UK)  »
Hi,

Been Reading this thread and have to agree with most of it. Being HTML or xhtml compliant is not really a must but in my opinion I think it is good practice.
I strive to make my pages XHTML compliant where I can. Being compliant does have a positive affect on your sites load time though as the browser doesn't have to work as hard to show the data.
As stated, with xhtml, it is normally the simple things that fail such as tags need to be in lower case for xhtml as apposed to HTML.
Alt tags for images (as mentioned). Doing this can also improve your search engine results etc.
Closing single tags. eg:
Code: [Select]
<hr>
and
<input type="test" id="text1"> for example are fine in html but in xhtml need to be closed using the /
<hr />
<input type="test" id="text1" />

Just making sure that these simple things are implemented makes a positive difference. Another key feature is to use CSS but thats a whole new thread lol.  As I said, its just good practice.

lol sorry....just my 2 pence worth.

Kind regards.

7
The Lighter Side / Re: How did you find Rootschat?
« on: Sunday 12 February 06 15:50 GMT (UK)  »
I found it at the top of genealogy.org.  ;D

Pages: [1]