- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 368
- Posts with Upvotes
- 288
- Upvoting Members
- 54
- Downvotes Received
- 227
- Posts with Downvotes
- 227
- Downvoting Members
- 5
Re: An apple and yoghurt - not together, that'd be weird. | |
Re: I use the FPDF class and some extensions to it, and find it very useful. [FPDI](http://www.setasign.de/products/pdf-php-solutions/fpdi/) allows you to import existing PDF files to use as templates and you can add data via standard FPDF functions. > I need to confirm that is really worked? The original code posted looks … | |
Re: > I feel that all this business of personalized searches is also annoying in the same way: I'm not searching the web to find things I already know about. I'd wish there was a button to reverse it completely (as in, "give the results that are as far removed as … | |
Re: What specific error messages are you getting? at a quick glance I can advise the following: You will probably need to surround your SET variables with quotes, ie: [ICODE]"... SET PublishDate='$update' ..."[/ICODE] Also, assuming that PublishDate is a datetime field of some sort in your database, you will need to … | |
Re: The way email validation usually works is to have a unique key or hash that is sent to the email, and then passed back to the webpage when the user clicks on the link. The web page then needs to identify that the hash is the same as that which … | |
Re: what code are you using to display the timestamp? | |
Re: You might have more luck posting under the "MS SQL" forum (this is the MySQL forum). First advice I can offer is to check your Services applet and see if the Microsoft SQL Server service is listed and running etc. | |
Re: `ORDER BY unit_cm DESC LIMIT 3` will actually give you the 3 records with the highest values of `unit_cm` To get the smallest values use `ORDER BY unit_cm ASC LIMIT 3` in the subquery. | |
Re: You need to concatenate the values into the URL string of your link. This is a general example, but if you provide more context about the code you are using (such as if it is databound, produced in code behind etc.) I can give you more specific pointers. <asp:HyperLink ID="HyperLink1" … | |
Re: It sounds like a file pointer still pointing to the first file, while you are trying to move it further through the second file (possibly before it is appended to the first). If you are able to post code I could probably be more specific? | |
Re: You can instantiate an instance of the MS Word application via C# and programatically access all of the functions you would via the graphical interface. Your project needs to reference `Microsoft.Office.Interop.Word` and you must have word installed on the machine this will run on (ie; if it will be deployed … | |
Re: try maybe sorting on ID and date both descending SELECT * FROM $logbook WHERE Date<='$Date' AND ID!='$ID' ORDER BY Date DESC, ID DESC LIMIT 1 you could also add an extra clause to exclude the previously selected ID ` AND ID!='$Next["ID"]' ` (of course you need to grab the value … | |
Re: echo doesn't print the variable values when using a single quoted string. ie: [CODE] $id = 1; echo "<td>$id</td>"; // output: "<td>1</td>" echo '<td>$id</td>'; // output: "<td>$id</td>" [/CODE] there are a number of ways you could get around this issue, one would be to change those two link lines to … | |
Re: Although this appears to be a zombie thread, I'm going to recommend [iTextSharp](http://sourceforge.net/projects/itextsharp/) which is free open source part of the [iTextPdf](http://itextpdf.com/) library project. If you look in their docs they have sample code to convert from HTML as well as building a PDF from scratch. | |
Re: the `onclick` event on a standard HTML button invokes javascript, not Java. So your code is looking for a javascript function called `addBook` on a javascript object called `cart`. I believe you need to have the form `POST` to your servlet in order for the Java code to execute on … | |
Re: Can you post some code? looks like you have a object type where it expects a defined variable. | |
Re: What is the error? Also, why is the execute not inside the try block? I'm going to take a stab in the dark here and guess that your issue has something to do with having a *slash* in your parameter name `"@Amt/Day"` - try removing that and see what happens. | |
Re: You could try casting the datasource table you are passing in as an object (it could be just a resolution issue with the constructor definition expecting an object type, even though theoretically anything is an object). Dim datasource As New ReportDataSource("USACity_mCity", CType(DS, Object)) | |
Re: Mine comes from a character name I used when I first started playing MMO's. I had a bunch of characters, but this was the one that became well known in the guild and circle of players I was involved with. I started using it on the game forum, got an … | |
Re: I realise you have probably already moved on from this, but for posterity sake... > CommandName=<%#Eval("Category")%> you need quotes when specifying server values, which is probably the cause of the parsing error. CommandName='<%#Eval("Category")%>' | |
Re: 1) Are you using Windows or Forms based authentication? The way I have done this, is to use the Page.User to look up the username in the database, since the authentication is already taken care of you can assume is valid by the time it hits page code whether it … | |
Re: It is also possible there is a bios setting to disable the bluetooth radio. If you have upgraded to Windows Vista/7/8 it may have done things to your bios inadvertantly. I'd say it would be worth a check... | |
Re: > You'd be better off using a loop He'd be better off using a single regex like Atli originally posted, much faster execution, less steps, and more elegant code to read. | |
Re: You need to have a high powered antenna on both ends, since each end needs to transmit as well as receive in order to have a valid connection. There are also other factors, some environmental, that can affect the signal, such as; line of sight, weather, signal interferance. You would … | |
Re: Looks to me as though they join like this: form1.k8regNo <- form2.k8regNo form2.form2_ID <- form4.form4_ID form4.k9regNo <- form3.k9regNo Does this sound about right? Do you know how to write [joins](https://dev.mysql.com/doc/refman/5.0/en/join.html) in SQL? | |
Re: You should index on any fields involved in joins. You can also have multiple indexes based on fields used in conditions (where clause) for different queries, but you should test the performance as not all indexes will prove sufficiently beneficial to warrent the overhead. Also consider the type of join … | |
Re: You have set up your checkbox's as a control array, which means that `$_POST['generation']` will itself be an array (not a single value) and must be iterated to find the selected value for insertion in the database. You will need some additional logic to handle this, you can't just pass … | |
Re: I assume you are talking about handling those exceptions? Catching exceptions is generally the same regardless of the type. [This tutorial](http://www.tutorialspoint.com/java/java_exceptions.htm) has some `try-catch` code examples. |