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 TouchToneTommy 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: *

  • Users: g0ste
  • Order by date
  1. g0ste

    List Box to populate db with one value and form textbox with another

    whoops: "samplepage.php" + acc_id should read: "samplepage.php?a=" + acc_id ________________________________ Top 10 reasons to procrastinate: 1)
  2. g0ste

    List Box to populate db with one value and form textbox with another

    By the looks of it, you would like the list menu to perform two functions: 1 - populate the account field in the db with the account name 2 - populate the textbox on the form with the account number Is this correct? If so, you would be looking to use an AJAX style call. There are a number of...
  3. g0ste

    Display only 5 entries from table.

    sorry, amended: SELECT id, deceased_name, deceased_date, DATE_FORMAT(deceased_date, '%M %D, %Y') as datetext FROM scales_obits ORDER BY deceased_date DESC LIMIT 5 ________________________________ Top 10 reasons to procrastinate: 1)
  4. g0ste

    Display only 5 entries from table.

    SELECT id, deceased_name, deceased_date, DATE_FORMAT(deceased_date, '%M %D, %Y') as datetext"; $query .= " FROM scales_obits ORDER BY deceased_date DESC LIMIT 5 ________________________________ Top 10 reasons to procrastinate: 1)
  5. g0ste

    $_SESSION and Google Chrome

    I just found the solution to my problem. I realised when I was testing the Chrome and Opera pages, they were pointed at http://mydomain.com but the script apparently only works with http://www.mydomain.com ... have you ever heard of this before? Bizarre. But thanks for the advice folks! I...
  6. g0ste

    $_SESSION and Google Chrome

    DonQuichote: I am with you now. I knew what you meant earlier when I said "It's my script." but I failed to clarify that I knew it was not a foreign script being injected (or whatever), because I tried this on a local machine and on the internet with the same results. Your last point you made...
  7. g0ste

    $_SESSION and Google Chrome

    @DonQuichote: Even if Chrome was creating a new session, wouldn't that override the existing session if it uses the same session variable? @jpadie: just a quick note about your script you linked: line 105: if (session_id() = '') session_start(); should be a comparison, not an assignment. but...
  8. g0ste

    $_SESSION and Google Chrome

    Hello! And thank you both for your replies. @DonQuichote It is my script. I wrote the script a few months ago. I suppose this is one of the advantages of using those libraries. Anyways, the only difference between the script that currently works and this faulty one is the host. Not sure if that...
  9. g0ste

    $_SESSION and Google Chrome

    The problem: Hi, I have a 'form' that is submitted via AJAX, and during the submission / validation process it makes a call to another page to check that the captcha is the same as the variable stored in the $_SESSION. If it is, then it returns a string and the sending process continues, as you...
  10. g0ste

    EXEC a Stored Proc

    I assume you are selecting data using the sp? If you are, you need to use set your record set, like: SET rsData = MyConn.execute(strsql) then you can use rsData("colName") etc where you like. however, a quick search shows the 8002000e error is when you try to response.write an object, or...
  11. g0ste

    EXEC a Stored Proc

    try strsql = "JSp_DevLogFrameDetail '" & sCode & "'" myConnection.execute(strsql) 'assumes you have opened a connection 'called "myConnection" ________________________________ Top 10 reasons to procrastinate: 1)
  12. g0ste

    clock form

    not sure if this is what you meant, but you can create a for loop to populate the select field with hours and then another one for minutes. example for minutes: <select id="mm"> <option value="0">00</option> <% ' if you want to increment by certain amounts ' add step 5 or whatever...
  13. g0ste

    EXECUTE METHOD NOT WORKING

    well, what is contained in str? sounds like it is empty or you are querying a columns with no criteria. such as ... WHERE id = try response.write the value of str out. then copy/paste that into your database and query it manually. ________________________________ Top 10 reasons to...
  14. g0ste

    EXECUTE METHOD NOT WORKING

    you want to execute sql then go to the sub? it's what it looks like (might be wrong tho)... try: str = cStr(request.form("sql")) 'of course, you do not need the IF statement here. IF str <> "" THEN conntemp.Execute(str) numAffected END IF ...snip... SUB numAffected 'code here END SUB...
  15. g0ste

    Properties Files in ASP

    Includes are useful. A common method of doing this is to have your asp files stored in /project_name/ and then have the includes stored in /project_name/inc/ with the file called connect.asp / config.asp... you get the idea. Another thing to look up is the global.asa file. This sits in your...
  16. g0ste

    adding TARGET=&quot;_blank&quot; on asp ?

    you could add it here: ... If oRs("PostID") <> oRs("PostParent") Then Response.Write "#" & oRs("PostID") Response.Write "' target=""_blank"">" ... Is that what you were doing when you were getting errors? hint: put your code snippets in TGML tags, like: ...
  17. g0ste

    Text Editor Font Color in Visual Studio 2008

    I looked in VS2005, and (I am not sure if this is how to do it in 2008) I went to Tools > Options > Fonts and Colors and you can change the text, comment, function et al. colours there. ________________________________ Top 10 reasons to procrastinate: 1)
  18. g0ste

    IE -&gt; FF -&gt; Opera (Select Lists)

    If we are talking the drop down boxes: IE6, IE7, FF2, FF3, Opera9, Google Chrome and Safari 4 (beta) all render it the same size. even when the text contained in an option far exceeds 200px, it still doesn't change size. in all browsers (except IE) the text is not truncated to 200px when you...
  19. g0ste

    Clearing nested floats (or another way around....)

    i also forgot to mention; this will allow the left column to be as lonnnnng as you like. we just remove the offending <hr /> code all together, and replace it with an "imitation" horizontal rule with border-bottom. ________________________________ Top 10 reasons to procrastinate: 1)
  20. g0ste

    Clearing nested floats (or another way around....)

    it solves the issue posted. we don't know how long the left column will be. all evidence points to it being 100px in height. however, to avoid this issue all together, it would be alot easier to something like: in the style: .foo{ width:98%; padding-top:10px; padding-bottom:10px...

Part and Inventory Search

Back
Top