Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tranquillo

    javascript-dom help needed

    Hi... this is what I've got: an xml file that's altered with javascript-dom commands threw a html form. I've also got a xsl file to go with the xml file to present it and to show some calculations of the content. example: -xml- <product> <price>10</price> </product> <product>...
  2. tranquillo

    how do I get javascript variables into DOM-&gt;XML?

    tried that to, and everything else I can think of... nothing seems to work... is there something about DOM that just hates the document.form.x.value function? I've tried all kinds off diferent things but each time I add the .value it stops reading at that point...
  3. tranquillo

    how do I get javascript variables into DOM-&gt;XML?

    thanks, but I allready knew that. so why isn't it working? the only thing that doesn't work is where I try to fetch the value from the form.
  4. tranquillo

    how do I get javascript variables into DOM-&gt;XML?

    ...original XML:&quot;) document.write(xmlDoc.documentElement.text) var newnode=xmlDoc.createElement(&quot;produkt&quot;) document.write(&quot;*&quot;) var isbn = document.form.isbn.value document.write(&quot;*&quot;) var child1=xmlDoc.createElement(isbn) var...
  5. tranquillo

    XML-DOM vs. Asp-Database

    I'm at the start of a project and we're looking at different opions for solutions... the project is to create a webbportal. at the start there's going to be somewhere around 400 members with their own profile where they'll be able to show 10-15 pictures of &quot;products&quot; for sale or for...
  6. tranquillo

    Database Design and Input Form

    I don't get why the pricing should get complicated... the way I see it you just put a price in the dates table. School(SchoolID primary key, name, whatever) Course(CourseID primary key, SchoolID FK, name, whatever) Level(LevelID primary key, CourseID FK, name, whatever) Times[wich I'd prefere...
  7. tranquillo

    don't want html tags in my forum

    Hi... I've built a forum/guestbook thing for a website. it's verry basic. it simply writes text into a database and then shows it on a new page. the problem is that if someone writes a html tag such as a <img src...> the image will show... I don'w want that... can someone help me with this...
  8. tranquillo

    blobs and timestamps

    thanks... ;) do you know how to make the timestamp look good when printed on the php page? now I use this &quot;SELECT datum, date_format(datum, '%Y %M %D') as date&quot; to get the date in order and it looks like this: 2003 March 19th. but I'd like it to be 03 instead of 2003... thanks again.
  9. tranquillo

    blobs and timestamps

    Hi... I'm using php and MySQL to do a website, and for the news section I'd like to know the best way to make a timestamp in the database... is there some kind of function in MySQL I can use that automaticly adds the current date/time? (I'm not using UNIX if that matters). and I'd like to know...
  10. tranquillo

    Missing row

    ...and for some reason it refuses to show one of the rows... why? --------------------------------------- $result2 = mysql_query(&quot;SELECT * FROM spelningar where spelningar.datum >= current_date AND spelningar.artist='wieskahubert' order by datum&quot;,$db)...
  11. tranquillo

    missing rows

    ...by date and for some reason it refuses to show one row... why? --------------------------------------- $result2 = mysql_query(&quot;SELECT * FROM spelningar where spelningar.datum >= current_date AND spelningar.artist='wieskahubert' order by datum&quot;,$db)...
  12. tranquillo

    creating foreign key in MySql

    aaah... thanks... :/ -stefan..
  13. tranquillo

    creating foreign key in MySql

    Hi... I wanna know how to create a foreign key in mysql.. I tried this alter table arbetsplats modify klubbID int foreign key; it says I have an error in my syntax... and I guess I do. -stefan
  14. tranquillo

    using php to getting a sql result on the same page...

    ...VALUES('$kid','$namn','$gadr','$postnr','$ort','$sek')&quot;; $result = mysql_query($query); $result2 = mysql_query(&quot;SELECT * FROM klubb order by klubbID desc&quot;,$db); } if ($myrow = mysql_fetch_array($result2)) { printf(&quot;<b>Klubb ID:</b> %s<br>\n&quot...
  15. tranquillo

    &quot;supplied argument is not a valid&quot;

    didn't work... :/
  16. tranquillo

    &quot;supplied argument is not a valid&quot;

    thank you sooo much... I'll try that... what exactly does that thing do btw? thanks again.. -stefan
  17. tranquillo

    &quot;supplied argument is not a valid&quot;

    hehe... sorry bout that... Warning: mysql_result(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\databas\resultat_test.php on line 80 the same on line 81,82,83,84 thanks for looking at it! -stefan.
  18. tranquillo

    &quot;supplied argument is not a valid&quot;

    Hi... I'd be really glad if someone would like to take a look at my code here and tell me what's wrong with the &quot;arbetsplats&quot; function. everything else works fine, and that function is the same as the others... I just can't see what's wrong... --------------------------- this is the...
  19. tranquillo

    a list in php/mysql

    ok... so now I know whats wrong... how do I increment $var and what's error-handling... the access code works fine on a lot of other things I've done... thanks.
  20. tranquillo

    a list in php/mysql

    ...this code... <?php $db = mysql_connect(&quot;localhost&quot;, &quot;root&quot;); mysql_select_db(&quot;seko&quot;,$db); $sql = &quot;SELECT * FROM arbetsgivare&quot;; $result = mysql_query($sql); while ( $row = mysql_fetch_array ($result)){ echo ($var%2) ? &quot;#999999&quot...

Part and Inventory Search

Back
Top