Jump to content

awaddington

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by awaddington

  1. PHP is a server side scripting language.This means that it performs functions and generates content on your server before the page is sent to/viewed by the user.This means, among other things, that you can generate your page content dynamically.Lets say you have a list of 12 employees. For each employee you have a picture, a name, a position, and a phone number.Without server side scripting you would need 12 pages: one for each employee. and when you wanted to change how those pages looked or functioned you would have to change 12 pages.With PHP (or other server side scripts) you can have 1 page (employees.php) and you can pass a variable representing the employee you wish to see (employees.php?emp=1)PHP can generate that page and insert the information for employee 1 (or 2 or 3...etc.)Server side scripting also removes issues of user compatibility. Where a client side script (such as javascript) requires that the user's browser be able to perform the functions, server side scripts are run on your server were you have control over what can or cannot be performed.Sorry if this is nothing but long winded. Hope it helps you.

  2. hello... im new one here. im tonimanak from thessaloniki greece.im learning html since lasta year... i would like to ask something.it is better to use dreavweaver or to learn to write code on my own...help me plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

    Without a doubt...it is better to write the code on your own. It is the only way to really understand how the codes work, does not require any programs to purchase (can be done with a simple text editor like note pad).Programs like FrontPage and Dreamweaver have other features that can be useful in the organization of files etc. but the best way to LEARN the code is to WRITE the code.Hope this helpsCheers,Andrew
  3. I've spent that last little while trying to remove as many tables as possible from my code, but if you include your title and your image in the same table then your problem should be eliminated.
    <table style="width:100%">  <tr>    <td class="artheader">Image Title</td>  </tr>  <tr>    <td><img class="showcase"...></td>  </tr></table>

    The column will only shrink to the width of the image and the image title will remain centered in the cell.Hope this helps.Andrew

  4. I've spent that last little while trying to remove as many tables as possible from my code, but if you include your title and your image in the same table then your problem should be eliminated.

    <table style="width:100%">  <tr>    <td class="artheader">Image Title</td>  </tr>  <tr>    <td><img class="showcase"...></td>  </tr></table>[code]The column will only shrink to the width of the image and the image title will remain centered in the cell.Hope this helps.Andrew
  5. Thanks very much for the reply, I appreciate the time. But, I'm pretty sure it wasn't server-side, it was just client side. Now granted, my memory might be off as this was a little while ago, but I'd swear on dear ol' Aunt Petunia that it was so...

    Well lets hope you are right ... for poor ol' Aunt petunias sake. lolPlease, post your solution here if you find it. Sounds interesting. (still certain it isn't CSS though - hope that helps narrow your search)
  6. http://home.comcast.net/~jackfox68/Hello everyone Brian here and I am new to the forum and relativley new to HTML and coding.  How is everyone doing?  I would appreciate it if anyone has the time if you could look at the above website in Fire Fox and IE (6) and tell me why the <div>'s appear to be in different locations from browset to browser.  Created with FP 2003.  I am baffled $#%#$ :)  :) Any help would be greatly appreciated.  Thanks Kindly Brian P.

    Hi Brian,I haven't spent much time looking at this to be honest, but if I remember correctly, IE builds the border outside of the dimensions and Firefox, opera, etc. is the opposite.That means that a 100px X 100px DIV with a 2 px border is actually 104px x 104px with the border for one while the other remains 100 x 100 and the border is included in that dimesion.I might have that backwards, but you have the idea. I've faced and solved this problem before (can't seem to remember how though at the moment) . I'll post something if it comes to me.Something that might help would be to declare the style type for the page if you need to use the "style" attribute instead of all classes.<meta http-equiv="Content-Style-Type" content="text/css">You've already declared the styles with in your <style> tag as "text/css" but not the styles in your <div>'s.A lot of cross compatibility issues I've facesed with CSS are cleared up by declaring the style type.Hope this helps (sorry if i rambled)CheersAndrew
  7. I'll admit this might be a CSS thing, but as far as I can recall from the class I took it was either HTML or XHTML.I'm creating a page with a form. The submit button for the form should, of course, submit the information the user has entered. However, I don't want to have the form use a user's default mail client (like Outlook or such), since I know several users who won't have one set up.I would swear on it that there is a way, through X/HTML (or as I said, maybe css) that allows you to pass POP3 information and have the form use a programmer-specified email client.Am I completely off here, or is anyone familiar with that?

    Hi Services,I doubt that it would be CSS as they only coontrol how elements of a page are formatted/displayed.If you are talking about something like an email form then this is usually handled with server side scripting (php, asp, etc.) and would use the server's (your) email program.In PHP for example you would submit the information from your form
    <form action="your_php_page_with_mail_function.php" method="post">...[your fields (lets say "subject" "address" and "content") and submit button]...</form>

    to a mail handling script page containing the mail() function

    ...mail($address, $subject, $content)...  

    This will send an email to $address with the subject line $subject, and content as $content. (Where $ denotes a variable)Obviously you need to have a server with PHP installed as well as a mail program such as Sendmail.I hope this helps. :)

  8. How do i make a picture my link on the same page isnt the code<a href="description"><img border="0" src="fdsdfsdfd" width="65" height= 38">

    Hi BigToysr4us,If I understand what you are asking, you want you image to link to an anchor on the same page that is named "description".Try adding a pound sign (#) before the word "description" in your href attribute.
    <a href="#description"><img...></a>...<a id="description"></a>

    Hope this helps.

  9. Hi folks,This is pretty cool. I'm glad there is finally a forum for this site!I am currently working on a personal project using xhtml. What i would like to do is provide an xml feed (verbage?) for other websites providing information from my website (say...a joke of the day for instance).What i need to understand is how to access that information from an xhtml or html page while still following standards.For example, lets say I have the xml content stored at http://mysite.com/xmlfile.xml

    <joke>  <title>Joke of the Day from MySite.com</title>  <link>http://mysite.com</link>  <question>Q: What do you get when you goose a ghost></question>  <answer>A: A hand full of sheet</answer>  <date>2005-10-20</date></joke>

    I thought that using a data island, i could access the xml file using src and datafld, etc. but the <xml> tag doesn't conform to strict xhtml.Ideally what I want is to be able to give the author a string that automatically reads/displays my xml content with their styling (I think that is the point of xml).Any thoughts are welcome. Thank you in advance.CheersAndrew

×
×
  • Create New...