SQL UPDATE statement problem
How do I insert this VBScript? Please correct me from the 1st response .write to the "next"
In case you're wondering, I am inserting some mathematical result from the formula between the 1st response .write to the "next".
Code:
TheString = Request.QueryString("new_text_data")
ArrayTemp = split(TheString, " ")
NumberOfWords = UBound(ArrayTemp) + 1
SQL = "UPDATE 2"
SQL = SQL & "SET new_gemetria = "
Response.Write "<P><i>Number of words:</i> " & NumberOfWords
Response.Write "<BR>Total=" & computeValue(TheString)
For Each Word In ArrayTemp
Response.Write "<BR>" & word & "="
Response.write computeValue(word)
next
SQL = SQL & "WHERE new_text_data = ''"
And I don't know if this is right but "new_text_data" should be the "new_text_data" of every single record in the table. So I left the '' blank. How should I write that?
Martial Law 9/11 Rise of the Police State is now available! Visit our Martial Law movie section for complete info (click here), or order now by clicking the button below or by calling 888-253-3139
http://www.infowars.com/martial_law_911.htm