Jump to content

shaneR

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About shaneR

  • Rank
    Newbie
  • Birthday 08/12/1975

Profile Information

  • Location
    warwickshire, England
  1. shaneR

    Automatic insert

    The below code is what im using and the insert into database code im sitting above this! <form method="post" action="<%=MM_editAction%>" name="form1"> <table align="center"> <tr valign="baseline"> <td nowrap align="right">Clickdate:</td> <td> <input type="text" name="clickdate" value="<% Response.Write(Now) %>" size="32"> </td> </tr> <tr valign="baseline"> <td nowrap align="right">Ip:</td>
  2. HI Everyone,I've built a site using asp and vbscript and what i need to do is have some information automatically submitted to my database upon the user arriving on the desired page.At the moment the information is automatically collected but to submit it into my database im using a form which requires the submit button to be pressed.Any ideas please?
  3. shaneR

    Automatic insert

    HI Everyone,I've built a site using asp and vbscript and what i need to do is have some information automatically submitted to my database upon the user arriving on the desired page.At the moment the information is automatically collected but to submit it into my database im using a form which requires the submit button to be pressed.Any ideas please?
  4. Thanks for your input!!I have found some similar code to that above which works really well please see below i hope this helps others out who have the same problem as me.<%strServerName = Request.ServerVariables("SERVER_NAME")If InStr(strServerName, "mydomain.com") Then strImage = "<img src=""first image"" width=""473"" height=""35"">"Else strImage = "<img src=""ialternate image"" width=""404"" height=""38"">"End If%>Place the below string where you want the image(s) to be displayed.<%= strImage %>
  5. The database im using is ACCESS 2000!!!Thankyou.
  6. Hi, could you please comment on the included code which displays questions from my database in a random order but sometimes the questions are re[eated in the same session.If you know how to stop this please show me how.Thanks all!!! <%@ Language=VBScript %><%option explicit%><!-- #INCLUDE FILE = "connect_ama.asp" --><% dim myrs set myrs = server.createobject("ADODB.recordset") myrs.open "select * from all_exams where ExamName ='" & Request.Form ("start") & "'" ,myconn '''''''''''''''''''''''''''''''''''''''''''''''''' dim q_id1, q_id2, code, totaltime, ppercent, t
  7. HI i wonder if anyone knows any neat code to place onto my site?Basically i have two different domain names running from the same site and i need to have a different logo display depending on the URL used to access my site.Any ideas?
  8. Thankyou after taking your comments into consideration im now able to perform the delete from both the server and database.Regards,Shane
  9. Hi everyone! my database site is now uploading files to my server and at the same time writting this file name and the users id to my database. What i need to do now is allow the user to access their own content and be able to delete this from the server and database.I have already been trying a few different methods but i just cant seem to get my head around it.Any code or advice would be appreciated, Thanks
  10. shaneR

    track uploads?

    Yes im using a form connected to an asp page. I have not included any cookies or sessions that im aware of so that sounds like the way to go? Thanks
  11. shaneR

    track uploads?

    I have created the user log in details in a database and these details are checked when they log into my page that allows them to then upload direct to my server. I now need a way of identifying the files uploaded by the different user in order to call them back into my database for users to view etc.I hope this makes a little more sense, thankyou.
  12. shaneR

    track uploads?

    My database is now working fine! thanks to all. However i have now set it up so that users can log in and upload files to my server. How can i automatically have a copy of their file names sent to my database perhaps with their user log on id also?I would appreciate some code if possible (iam currently using dreamweaver to write my pages)Thankyou...
  13. Thanks for all that have taken the tome to look at this problem. I have discovered what was the cause and as usual it is something very simple.Basically one of my field names is called PASSWORD and as this is whats known as a reserved word i have changed it and now the site works.
  14. Hi, i wonder if anybody would be as kind to take a look at the attached code. Im trying to set up a form which when submitted the required information is sent to my database.The error which is displaying is as follows:Microsoft JET Database Engine error '80040e14'Syntax error in INSERT INTO statement./Shane_R/my_music_profile/web_site_construction/www/upload.asp, line 115 Thankyou..... <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%><!--#include file="../Connections/con1.asp" --><%' *** Edit Operations: declare variablesDim MM_editActionDim MM_abortEditDim MM_editQueryDim MM_editCmdDim
  15. Thankyou, just tried that and i have resized all my pages to 101% and they all now align without any jumping... Regards Shane.
×
×
  • Create New...