Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sbrownii

  • Rank
  1. That page has to be accessed from a server.Did you access it on a server? or just open it?Maybe you should look at the name of the tutorial....
  2. so... when a user clicks on your links, the relevant document is opened in the iframe, but there is one link that you would like to load in the current window, instead of just the iframe?are the other links opening into the iframe because you are setting their individual target attributes to the name of the iframe? if so, just don't set the target attribute for the link you want to open in the current window.if you are using the base tag you will need to specify the target on the link that you want to have open in the current window.you should be able to specify "_self" as the targetif you wan
  3. you need to put quotes around your attribute valuesyou specified the id attribute for the image tag, but didn't put the value in quotes.. change it to this id="home2" what characters did you have to replace with numeric entities?
  4. the following lets you know that the query is not what you expected [, order = 02] [WHERE id = 2] LIMIT 1 maybe I am just old school... but it is good to echo your variable values when something like this goes wrong. just echo $query, and you will see what it is, and realize that it isn't the value you expect, right?try this instead: $query = "UPDATE inventory SET type = '$type' , order = $orderWHERE id = '$id' LIMIT 1"; I don't know what types your values are, but if they are varchar or other character data, the end result needs to be surrounded by single quotes so put single quotes aroun
  5. sql is a language used to query databases. that is probably why the tutorial doesn't talk about a compiler or how to run it on your computeryou will need to install some database. Try MySQL. or if you want to go light... give a look at SQLiteIf you need to learn more sql, just search the web for sql tutorials/references.
  6. Did you know you can check the request type too?The following code returns the request type (GET, PUT, POST, HEAD...)$HTTP_SERVER_VARS['REQUEST_METHOD'] After getting your code to work on the xml like you want, you may want to have the output change depending on the request type. ex: if method is POST, return SOAP message. if method is GET show html that says the page doesn't support that method (unless you want to support get....), or check if the variable for get is "wsdl" and show your wsdl file...Just figured it is worth mentioning....
  7. Maybe the post above is unclear....if you have a file named "soap.xml" that you want to parse..."soap.xml" is the location of the file you want to look at...in the same way, "php://input" is the location of the "raw POST data". Note that it is the location of the data. You don't need to worry about skipping the HTTP Header info, because it isn't there - only the data is.anyway... I don't know how you plan to work with the soap message, but the point is, its location will be "php://input"read more here (not much more though... actually... maybe it's less....)I would recommend you hard code the
  8. echo file_get_contents("php://input"); the above code will print the soap message...
  9. maybe I don't understand the question... but...the language attribute is not supported for the script element in XHTML STRICTthere is no such thing as fptype... atleast I never heard of itsomething that could work <script type="text/javascript"></script> <script type="text/javascript" src="script.js"/> there are too many other errors... sojust run your page through the validator at http://validator.w3.org and read the errors. You have used many attributes that are not allowed (don't exist) in XHTML 1.0 Strict. You failed to include some attributes that are required. You
  10. question #2 can be answered with scriptinga somewhat similar question can be found herewhat does "sit among the text" mean?is there a site you have seen that does that, so I can see an example?
  11. what does "moving the position of the link" mean?
  12. sbrownii

    css not validating

    warnings are usually about how you SHOULD do things...errors are about... well... errors...The validators are not perfect, either.Search the net to read about why you SHOULD define the background color and font color together.you can started by looking here
  13. you might try finding a 2 column layout that uses "float" instead of absolute positioning
  14. of course it doesn't work if both are on the same page. You have 2 functions with the same name. If you have 2 functions with the same name, only one of them will ever work! how would the javascript engine have a clue which one to call if it let you have 2 functions with the same exact name!sure... the smurfs got along fine calling everything "smurf".... but it doesn't work so well in javascript....does it work if you combine the contents of your 2 validate_form() functions into 1 validate_form() function?something like this: function validate_form(thisform){ with (thisform) { if
  • Create New...