Posts
 
Reputation
Joined
Last Seen
Ranked #248
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
80% Quality Score
Upvotes Received
368
Posts with Upvotes
288
Upvoting Members
54
Downvotes Received
227
Posts with Downvotes
227
Downvoting Members
5
25 Commented Posts
11 Endorsements
Ranked #154
Ranked #305
~276.71K People Reached
Favorite Tags

205 Posted Topics

Member Avatar for samaru
Member Avatar for Duki
Member Avatar for martin5211

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 …

Member Avatar for Dani
0
22K
Member Avatar for Dani

> 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 …

Member Avatar for j.khurram
11
5K
Member Avatar for Patiodude

I believe the PRIMARY statement needs to go at then end of all the column definitions CREATE TABLE example ( id int NOT NULL AUTO_INCREMENT, name varchar(30), age int, PRIMARY KEY (id) )

Member Avatar for surveypacific
0
885
Member Avatar for sassygray5

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 …

Member Avatar for sensibledurg
0
26K
Member Avatar for fredfletcher

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 …

Member Avatar for Ole Bjørn
0
3K
Member Avatar for Patiodude
Member Avatar for Saboor880

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.

Member Avatar for Saboor880
0
295
Member Avatar for solomon_13000

`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.

Member Avatar for diafol
0
200
Member Avatar for jelly46

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" …

Member Avatar for jelly46
0
378
Member Avatar for Papa_Don

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?

Member Avatar for |-|x
0
448
Member Avatar for IsmailMBakr

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 …

Member Avatar for |-|x
0
217
Member Avatar for grant.baker

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 …

Member Avatar for raybigto
0
3K
Member Avatar for Poonam Jadav

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 …

Member Avatar for pzuurveen
2
43K
Member Avatar for aerian

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.

Member Avatar for Bessemer
0
2K
Member Avatar for theGrinch

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 …

Member Avatar for Tu Dinh
0
4K
Member Avatar for Grazel
Member Avatar for asarchit65
0
5K
Member Avatar for ZIPB

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.

Member Avatar for babujibabuji
0
2K
Member Avatar for 2jewel

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))

Member Avatar for |-|x
0
390
Member Avatar for mrnutty

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 …

Member Avatar for Reverend Jim
0
685
Member Avatar for gahhon

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")%>'

Member Avatar for |-|x
0
175
Member Avatar for MaddTechwf

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 …

Member Avatar for |-|x
0
184
Member Avatar for Reverend Jim

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...

Member Avatar for Reverend Jim
0
563
Member Avatar for everton.retweets

> 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.

Member Avatar for everton.retweets
0
259
Member Avatar for honeybee2090

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 …

Member Avatar for |-|x
0
194
Member Avatar for sagisgirl

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?

Member Avatar for sagisgirl
0
466
Member Avatar for newbie14

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 …

Member Avatar for 1stDAN
0
229
Member Avatar for devarmagan

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 …

Member Avatar for devarmagan
0
3K
Member Avatar for Louie_Rave

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.

Member Avatar for |-|x
0
210
Member Avatar for lloydsbackyard

Fpdf will work without any external references, it can create the pdf document without having a reader installed. Probably your browser is trying to display the pdf after it's created and that is what is causing it to try to download the reader.

Member Avatar for |-|x
0
129
Member Avatar for old_apache

You don't need single quotes around your variables inserted in the sql string - there weren't single quotes in the original, and adding them makes the table name and limiters string values. Echo your sql string to the page so you can see it and copy/run it manually to check …

Member Avatar for old_apache
0
206
Member Avatar for showman13

Have a read of the [MySQL Join documentation](https://dev.mysql.com/doc/refman/5.5/en/join.html), specifically the section that covers Left/Right joins. What I would use here is a `LEFT JOIN` which allows the parent record (ie: dealer_item) to be shown with a null record where no data exists in the child record (dealer_product). More left join …

Member Avatar for showman13
0
212
Member Avatar for |-|x

Hi guys, Working on one of my web projects recently I came accross a need for presenting some readonly data as part of the user input form. The readonly property of the input tags seem to work as expected for other types of input control, but not for the checkbox. …

Member Avatar for rohitdubey
0
5K
Member Avatar for |-|x

Hi All I have googled this exception extensively, and all the discussions I've found seem to be related to file uploading and exceeding the allowed file size limit. In my case however, I am not uploading anything, it is a simple postback. I have a gridview displaying the results of …

Member Avatar for BMXDad
0
1K
Member Avatar for aspertrace

[mysql_query](http://php.net/manual/en/function.mysql-query.php) returns a [resource](http://www.php.net/manual/en/language.types.resource.php) datatype on success, which is not simply printable like you are trying to do. You need to call either [mysql_fetch_array](http://www.php.net/manual/en/function.mysql-fetch-array.php) or [mysql_fetch_assoc](http://www.php.net/manual/en/function.mysql-fetch-assoc.php) passing the `$result` to that function, which will return each row as an Array structure that can be iterated and printed as any typical …

Member Avatar for aspertrace
0
217
Member Avatar for Rahul47

have a look at these pages for various server packages (including links). https://en.wikipedia.org/wiki/List_of_AMP_packages https://en.wikipedia.org/wiki/Comparison_of_WAMPs

Member Avatar for Rahul47
0
259
Member Avatar for diafol

I mostly like the new design, nice and clean. It seems to be a bit easier to find stuff by navigating compared to the original as well. I actually hadn't scrolled all the way to the bottom of a page until you mentioned the photostrip - had to check it …

Member Avatar for diafol
0
230
Member Avatar for Secretary

I don't think you have to specify a field size for `timestamp` type columns. This appears to be where the error message is orriginating, so I would try removing it so those fields read simply as: `msgstartdt` timestamp NOT NULL , `msgdttime` timestamp NOT NULL ,

Member Avatar for Secretary
0
192
Member Avatar for Eternal Newbie

You will have to expand the border (probably both form and container) to see the hidden controls, then copy/paste them from the container onto the form.

Member Avatar for Eternal Newbie
0
3K
Member Avatar for //Gonz

Is that your entire css? You haven't specified any other margin or float values or anything for other elements?

Member Avatar for //Gonz
0
2K
Member Avatar for Violet_82
Member Avatar for Meir David
0
220
Member Avatar for code_rum
Member Avatar for code_rum
0
312
Member Avatar for eddiesaliba

I believe it is your logout button. <a href="index.jsp" id="btnLogout" onclick="<%session.invalidate();%>">Logout</a> It is a while since I've worked in jsp, so someone may correct me, but I believe this is executing the `session.invalidate()` function and printing the result into the javascript `onclick` call. You are not able to use javascript …

Member Avatar for eddiesaliba
0
872
Member Avatar for dmp24

Probably he has an event declared in the ASP/HTML code with no corresponding function in the code behind.

Member Avatar for |-|x
0
296
Member Avatar for Varunkrishna

You can do it all in the loop if you handle the parameters properly. private void autofillyr(int incrementBy, int maxyr, int no_year) { for (int i = no_year; i < maxyr; i += incrementBy) { year.Items.Add(new ListItem(i.ToString(), i.ToString())); } } and the function call... protected void Page_Load(object sender, EventArgs e) …

Member Avatar for |-|x
0
2K
Member Avatar for christopher.baker.969952

I think what you are looking for is Windows authentication rather than Forms authentication. You can set this in the `web.config` file as <system.web> <authentication mode="Windows"/> </system.web> You can read some about this on [MSDN](http://msdn.microsoft.com/en-us/library/ff647405.aspx) - you wont need to worry about impersonation unless the website needs to access restricted …

Member Avatar for annaharris
0
212
Member Avatar for |-|x

Hi all, I have a somewhat philosophical issue I would be interested to see others opinions on. I have a site that receives several values via the querystring that are necessary for use throughout the site. By default other links internal to the site do no include these values, so …

Member Avatar for pritaeas
1
149
Member Avatar for jenny1975

you're missing a brace so the for loop will always return on the first iteration. for(index = 0; index < length; index++){ if(array1[index] == array2[index]){ count++ } } //<-- add this brace and see if that fixes it. return count }

Member Avatar for |-|x
0
186
Member Avatar for divyakrishnan

You could grab the server address (as above) and use it to determine the subnet, then perform a [ping](http://pear.php.net/manual/en/package.networking.net-ping.ping.php) sweep for active addresses. Not super efficient but I'm not aware of any way of simply listing active addresses.

Member Avatar for |-|x
-1
3K

The End.