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 strongm 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. amanxman

    Basic js - document.write to val(

    var timeDate=hours + minutes + day + month + year; jQuery('#purchase_order').val(timeDate); Perfect, thank you. Knew it'd be simple!
  2. amanxman

    Basic js - document.write to val(

    Hi, I have the following: ..... document.write(hours + minutes + day + month + year) jQuery(document).ready(function(){ jQuery('#purchase_order').val('xxxxxxxx'); .... I want to populate the xxxxxx with the result of the document.write I.e. I am generating a variable which is time & date...
  3. amanxman

    mySQL Statement to update field

    Excellent, perfect! Thank you
  4. amanxman

    mySQL Statement to update field

    Hey, Background: Standard mySQL database, on php with myphpAdmin running. I have a field "urlPath", which contains a value, say "/example/imagexx.jpg" I then have another field "urlPath2" which is blank at moment. This second field needs to have the value based on the first, for example...
  5. amanxman

    JS clash

    Hey, I have two js scripts which seem to clash (i.e. when both running, they don't work). They are for seperate functions... I've narrowed the cause in script at to: Array.prototype.call = function() { var args = arguments; this.each(function(f){ f.apply(this, args) }); } and this is...
  6. amanxman

    Remote database connection

    If you are connecting to the database with the Microsoft SQL Server Management Studio Express then you are using Microsoft SQL not MySQL. They are different products." Is the language fully compatible? i.e. can I use data from the Microsift SQL with an appliction designed for mySQL? Cheers
  7. amanxman

    Remote database connection

    Hey, I have a website powered by mySQL, written in .NET - with Microsoft SQL Server Management Studio Express as the SQL management software. I am looking to develop an add on application for this website in PHP - so would make it on a seperate server (php) - but this new application will need...
  8. amanxman

    Option list from one table

    Thanks very much for your reply Hi, thought about doing it with a mid-tbl as this will populate the middle table with individual results. However I still need the categories field in the Products table to be in the format categoryID,categoryID,categoryID (ie. each categoryID seperated with a...
  9. amanxman

    Option list from one table

    Hi, I have the following say; tblProducts: Name Categories Price tblCategories: Name IDNumber at the moment, no relationships built tblProducts "categories" requires the IDNumbers of the categories in tblCategories - there are mutiple IDNumbers for each product, and they need to be...
  10. amanxman

    passing information from 1 form to another

    Absolutly splendid, works a treat (after some tweaking to fit with the rest of me code!) I used perluserpengo's, but thanks both of you... The original script is a template from formmail script - i didnt write it myself, wouldnt know where to start! so learning very slowly.... thanks again a,x
  11. amanxman

    passing information from 1 form to another

    Hi, thanks very much for the reply :) Below are the codes for the two forms, and the thankyou.cgi script... First Form <form method="post" action="/cgi-bin/thankyou.cgi"> <input type="hidden" name="Subject2" value="Order Enquiry from Website" /> <center> <table...
  12. amanxman

    passing information from 1 form to another

    Hi, Thanks for the quick reply. so... The second form on thankyou.cgi currently reads; <form method="post" action="/cgi-bin/thankyou.cgi"> <input type="hidden" name="Additional Order" value="Additional Order Enquiry from Website" /> <input type="hidden" name="name"...
  13. amanxman

    passing information from 1 form to another

    Hi, I have two forms, the second of which is in the html of the .cgi which results from the first form. Ie they fill in the first form, which is on a .html file. Clicking submit sends me an email and takes them to thankyou.cgi. This thankyou.cgi file has a second form on, through which the...
  14. amanxman

    strip carriage returns &amp; linefeed characters from form field

    think i understand that! will play with the script later cheers for your help :) amx
  15. amanxman

    strip carriage returns &amp; linefeed characters from form field

    Ah ha, I thought I needed to put the $xxxx =~ s/\r\n/ /g; at each instance of the fields (i.e. print MAIL "To: $email =~s/\r /g"; for example) Do i need the square brakets [] aswell? Cheers for your help Can't test it yet, but will try it later amx
  16. amanxman

    strip carriage returns &amp; linefeed characters from form field

    Hi everyone, I have a little problem with a form to email which is getting spammed, and the solution, I've been told is to strip carriage returns (\r) and linefeed characters (\n) from form fields in my cgi scripts - with the following code: $field =~ s/\r/ /g; $field =~ s/\n/ /g; for each...
  17. amanxman

    Spam/Junk from Form

    Hi, Thanks for the heads up. Thought it would be something along these lines. I do have the form emailing to two different email addresses, but neither of these recipient email addresses end in mydomain. Is my only real option to convert the forms to say as u suggested NMSFormmail? Don't want...
  18. amanxman

    Spam/Junk from Form

    #1 Today, 02:13 PM amanxman amanxman is online now Newbie Join Date: Mar 2006 Posts: 1 Spam/Junk Form Output Hi all, Firstly, I apologise if this isn't the right place to post this - but I couldnt find anywhere else suitable!! In the last 24 hours, we've got heaps (30+) spammy junky...
  19. amanxman

    Runtime error starting Quark 6.0

    Hi, I have exactly the same problem. I have reinstalled it on another hard drive in the same PC, but still same problem. Did you manage to solve it? Cheers amx

Part and Inventory Search

Back
Top