User Profile
Collapse
-
I was always confused about this also, not to thread hijack but thanks for the response, =)... -
Heres the code when asp doesn't like it.
Code:if instr(invoice_tracking,"variable") then invoice_tracking = "<a target="_blank" href=http://www.something.com>" & invoice_tracking & "</a>" end if
Leave a comment:
-
ASP code for opening links in new page?
Ok, i figured since the <a href> code pretty much works the same on .asp, that by adding the target=_blank that it would open up in a new window, however when I do so, it give me an error on the _ character.
What would I need to use?
Thanks in advance everyone,
Gregory Gawaran -
thanks alot clint, learned something new yet again thanks to you guys.
Gregory Gawaran
PS
Keep up the great help you guys offer us newbies....Leave a comment:
-
I was having a problem with unterminated string, but i have fixed that problem (i think?) and now the error im getting is ""Microsoft OLE DB Provider for ODBC Drivers error '80040e21' ODBC driver does not support the requested properties."" its saying the error is on 184, which is where this string of code sits.
This is the code I have for the combine, but I don't know if its correct and is causing the problem but...Leave a comment:
-
-
this is how i interpretted what you said to do, but, am not sure if its right, well everything but the yadda part haha.
...Code:set rs = createobject("adodb.recordset") rs.open "select * from tracking tracking_number left outer join invoices invoice_tracking on tracking_number.column = invoice_tracking.column where yadda = 1 order by date" & rstemp("invoice_tracking")Leave a comment:
-
so instead of this
use this?Code:set rs = createobject("adodb.recordset") rs.open "select * from invoices where invoice_tracking = '" & rstemp("invoice_tracking") & "'",strDSN,3,1
...Code:select * from tracking t(t being the element in the table tracking?) left outer join other_tracking(which would be the other table?) o
Leave a comment:
-
Multiple queries?
I think this would be the proper title for the problem im currently having.
Just a jyst of what the problem im running into is....
1) This page was coded by yet again the same employee whom used to work here a few years back, with time, we need to update.
2) The problem is, we used to only ship via UPS, but now that we offer shipping through other means. However, the page I am working on only allows for... -
-
Using case staements more efficient then if else statements?
Did a search but couldn't find anything to answer my question.
In asp, i am using an if else statement for a variable.
For Example;
...Code://Declared variable// dim greg greg = (requested variable) <% if greg = "this" then %> <!--#include file = "this"--> <% else if greg =
-
updating a database via .asp pages
Not really a problem, well it is. I'm creating a form in which a customer, player or what not can enter in all their information and then by clicking on the submit button would then create a new record on the db. all on a form of course. now, my question is, is all the of mysql string code going to be on the same page as the form, or will all of the code be on the action, where the page will be redirected after the click of the submit button.... -
Ah I see, but I can also apply other fields , ie first name or what not, or would i want to leave the auto increment field by itself in the table?Leave a comment:
-
Problems creating tables.
Ive setup the MySQL server and am using heidi to create the tables, Ive had no trouble creating any new databases or certain tables.
But my problem im running into right now, im trying to create a tabel called customer_nfo with one variable for ID not null unsigned auto increment, then another with first_name not null.
ill post the code that heidisql posts
...Code:CREATE TABLE customer_info (ID MEDIUMINT
-
thanks clint, this has to be one of the best sites I have found. I am new with asp, and because of jhardman, hini and any others i might have forgotten, found out my code was missing some things, and I wasnt placing <% %> in the right places. But after figuring that out, I was able to execute other changes that needed to be done without error.
Will definitelty be back since im still learning, but will most definitely stay on...Leave a comment:
-
Scratch everything else guys. I was able to get all the code working, and actually learn a lot. Thank you very much everyone!Leave a comment:
-
Also, since I added the "About Awareness" information on the other portions of code, wouldn't I need to add something about awareness in this portion of code as well?
Wouldnt I use something like,Code:<% if variable <> "Engraving" then %>
Code:<% if variable <> "Engraving" and variable <> "About Awareness" then %>
Leave a comment:
-
I would have just edited my last post, but 5 minutes had passed. I wanted to clarify a piece of code or rather, ask what the difference is. Im familiar with seeing if and end if statements. But when I look through this code, I see a lot of <% end if %> is that a end if statement for server pages?Leave a comment:
-
Alrighty, i'm going through the process right now, and so far so good, I figured I should go ahead and indent the entire page so itll be easier for me in the future. However, the problem im looking for is something I created with the new code that I put in correct?Leave a comment:
-
I would post all the code for the page, but I wouldn't want to flood the entire thread with so much code.Leave a comment:
No activity results to display
Show More
Leave a comment: