Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. Hi,To add 2 numbers..(if thats what you are looking for)I guess when you said "succeed in the crime" is true when $result is true if ($result == "true"){$total = $gold + $crime1;$points = $points + $total}
  2. Hi Ben,Out of the 4 colors, green and blue seems to go with the background, but i would suggest green because green goes grt with the header image than blue.Cool Website....Pulpfiction.
  3. I am guessing the error is because of the below statement//create query$query = "INSERT INTO `members` VALUE ( NULL,".$name."NULL".$pwd.");Try changing it to this.. I guess this should work.$query = "INSERT INTO members VALUES(NULL,'$name',NULL,'$pwd')";
  4. pulpfiction

    ASP.Net

    Hi Shoukat,From the error I am guessing, your code behind file is not vb but c#, i.e., the extention is not filename.aspx.vb but filename.aspx.cs, this must be the reason why it says "; expected".I am not really sure if this would work but try adding this to your code.<%@ Language="VB" %>Hope it will work..
  5. wow scott, awesome code......Pulpfiction.
  6. What Seph wants is to select the last register, but when you order the last register may be different from the actual one. correct me if i am wrong.
  7. I guess this should help...http://www.hypergurl.com/mouseoversound.html
  8. pulpfiction

    forget password

    Hi,There are coulps of way that i know, you can get a secret qtn and answer, when the user forgets then you can ask the secret qtn and compare the answer and give the password, orTo make it simple, When the user initially registers I hope you must have got his mail ID, so when the user clicks "forgot pwd" then ask for userID and get the password and email for that ID, Send the password to that EmailID. The only that user can get the password. check out this link for some help..http://www.codingforums.com/showthread.php?t=2799
  9. pulpfiction

    ASP.Net

    hi ShoukatIt seems to be working fine for me. what kind of error ru getting, pls post the error, it might be helpful.
  10. This code seems to be working fine when I tried...<B>SELECT A CATEGORY!</B><BR><form name="navform" METHOD=post><select name="inchoice" size=1><option value ="/index.html" selected>CLICK A LINK THEN "SUBMIT"<option value ="http://yabberchat.com/">yabber chat<option value ="http://www.ask.com/">jeeves<option value ="http://www.yahoo.com/">yahoo<option value ="http://google.com/">google<option value ="http://lordruler.piczo.com">me site<option value ="http://altavista.com/">altavista<option value ="http://hotmail.com">hotmail</select><input type=button onClick= "location = '' + document.navform.inchoice.options[ document.navform.inchoice.selectedIndex ].value;" value="SUBMIT">In the bold part use two single quotes, (in case if you are using double quotes)I have also removed the slashes that was there ahead of "jeeves" and "hotmail"
  11. Check out this link, is this what you are looking for??http://www.javascripter.net/faq/sound/play.htm
  12. Check out this link if you want to send out mails with subject lines or message etc...http://www.ianr.unl.edu/internet/mailto.html
  13. SQL = "SELECT * FROM TBL_NAMESet RS = Server.CreateObject("ADODB.Recordset")RS.Open SQL, MyConn RS.MOVELAST 'This will take you to the last record of the recordset I guess this is what you are looking for.. HTH
  14. You hav to use javascript to do that, check out this link, but will need little change as the two frames will open in a different page...http://javascript.internet.com/navigation/...two-frames.htmlHTH
  15. If you really want to use JavaScript to get the query string values you might wanna take a look at this http://www.tek-tips.com/faqs.cfm?fid=5442
  16. Hi, I am not very clear of what you want, but let me get this straight.When the user opens the page and the some visibility changes happen and you want these changes in visibility to remain when he opens the page the next time. If this is what you want then you propably must be using "Cookies". then check the cookies to maintain the visibility of the images... If you could post the code or make the question a lil clear, it will be easy.
  17. I hope this site will help you a lot..http://www.free2code.net/plugins/articles/read.php?id=99
  18. This is the sql query, if you want to do it once then this will work....INSERT INTO TABLE2 SELECT * FROM TABLE1Check out this link too...http://www.databasejournal.com/features/ms...cle.php/3507171
  19. Hi,I guess the error is bcos of the value of the "strcode".Check if the "strcode" is a proper numberif you can give the sample value of "RstINVENCode(0)" i guess it will be useful to know if "strcode" is valid....
  20. Hi, Thanks Yahweh for your suggestion. it was so simple and i knew it, but couldnt figure out for such a long time. it works like this...On Error Resume NextobjCDO.Sendif err<>0 then Response.Write "Error: " & Err.Descriptionend ifThank you.PulpFiction
  21. If i am not worng, is it true vbscript doesnt have exception handling (the Try.. Catch thing).
  22. Whats wrong with the Exception Handling,getting the following errorError Type:Microsoft VBScript compilation (0x800A0400)Expected statement/test.asp, line 26End TryThis is the code <html><body><% Dim objMessage,objConfig,Flds Set objMessage = createobject("cdo.message") Set objConfig = createobject("cdo.configuration") Set Flds = objConfig.Fields Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2'Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "....." Flds.update Set objMessage.Configuration = objConfig Try objMessage.TextBody = "this is a test mail" objMessage.To = "......" objMessage.From = "......" objMessage.Subject = "Test mail" objMessage.TextBody = "test mail" objMessage.fields.update objMessage.Send Catch respones.write("error") End Try 'Set objMessage = Nothing 'Set objConfig = Nothing 'Response.Write("success") ' response.Write("failure") %></body></html> I have commented the fld.item so that it throws an exception. Thank you.
  23. Hi,look for the sub folder "www" in the EasyPHP Folder, put all the PHP files in that folder to work. make sure that the EasyPHP is running. (running properly if u see a E symbol in the right side tool bar).
  24. How about using temporary tables, write a Stored Procedure. Hope this will work. HTH SELECT * INTO #tempfrom eventsWHERE month >= MONTH( NOW())SELECT * from #tempWHERE day >= day( NOW())ORDER BY month, day LIMIT 4
  25. Hi,Similar to XAMPP, Look for EasyPHP, contains Apache | MySQL | PHP | PhpMyAdmin.
×
×
  • Create New...