Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
79% Quality Score
Upvotes Received
10
Posts with Upvotes
10
Upvoting Members
10
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
3 Commented Posts
0 Endorsements
Ranked #1K
~78.3K People Reached
About Me

Old bit, been dabbling in code for years

Interests
Badminton
PC Specs
Win7 laptop, Win XP self-build desktop
Favorite Tags
Member Avatar for rajesanthu

The age calculator is not quite right because it does not calculate the months correctly. If the current month is less than the birth month then the years are shown as one too many. The months are calculated as 12 minus the birth months, which is incorrect in most instances. …

Member Avatar for Youssef Faisal
-4
44K
Member Avatar for mlesniak

I am trying to connect to a Microsoft SQL server database using PHP 5.6 and am getting the error "could not find driver". I am initially attempting to use PDO but I could use the procedural version if necessary. I have downloaded the SQL server PHP driver and placed it …

Member Avatar for mlesniak
0
527
Member Avatar for ckide

C++ might possibly get you a job but I suggest that you specialise a bit more and find a specific application of C++ that you can develop some kind of expertise in. for example finance, gaming or communications.

Member Avatar for rubberman
0
475
Member Avatar for happygeek

Well I'm still using Windows XP on my home desktop and most of the pcs where I work are still on Windows XP. I must admit that I prefer XP to Windows 7, and I don't like the look of Windows 8 even though I have only read about it. …

Member Avatar for XP78USER
6
10K
Member Avatar for cambalinho

I think you need to make your question more explicit. For example, what is DC? Are you refering to a particular development environment?

Member Avatar for cambalinho
0
106
Member Avatar for StarTrekCafe

Hey. You sound desparate. You must be if you posted in this forum rather than contacting klp directly. I guess you don't have any contact details for whoever it is. I hope that you've resolved your issues.

Member Avatar for rubberman
0
132
Member Avatar for fireburner29

Your 'question' is unanswerable. You need to explain what you are attempting to do and maybe add at least a small amount of code, if you already have some. opencart is not a PHP function so what is it?

Member Avatar for mlesniak
0
89
Member Avatar for chevy_1

This is quite a wide ranging question. I guess you will need to determine the 'mechanics' of how the user will select inventory items and how many of each. So you'll need a table for storing the users' orders. Will you provide the user with a drop-down list of inventory …

Member Avatar for mlesniak
0
290
Member Avatar for johans22

I'm not sure about the time questions but the path exists question may be answered by this:- On Error Goto err_handler Open "c:\test.txt" For Input As #1 err_handler: Select Case Err.Number Case 53: Msgbox "File Not Found" Case 55: Msgbox "File Already Open" Case 71: Msgbox "Disk Not Ready" End …

Member Avatar for mlesniak
0
114
Member Avatar for James_43

Having the content in a database is a good idea. You could have a separate application to allow the editor to submit new items. That application may, or may not be a web application. That way you can keep the application simple. MySQL and PHP are good for this purpose.

Member Avatar for mlesniak
0
195
Member Avatar for andreasbb

are you able to connect to MySQL from a Windows command window using the same user id for the MySQL user? It is recommended that you set a secure password for the root user when setting up MySQL.

Member Avatar for mlesniak
0
306
Member Avatar for bugler

Since you mention 'safe mode' I assume that you are running a Windows operating system. To resolve the upside down screen try using Ctrl/Alt/up arrow. Are you able to get the boot menu to display by pressing F8 during startup (and before the Windows logo appears)? It could be a …

Member Avatar for toxicandy
0
189
Member Avatar for mlesniak

Hello. I have a listbox that I would like to display and I would like to set a default selected item, which I will not be able to determine until run-time. Is it possible to set a default item in the program code? I have looked at the Index property …

Member Avatar for mlesniak
0
163
Member Avatar for mlesniak

Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of …

Member Avatar for imBaCodes
0
247
Member Avatar for Violet_82

I suggest that you change salary += ((salary / 100) * 10); salary += (salary * 0.10); I suspect that although the variable, salary, was specifically assigned as a double, the type was dynamically changed as a result of the expression, because the expresssion resulted in a whole number.

Member Avatar for Violet_82
0
4K
Member Avatar for b.wickham

My first suggestion would be to add a debugging statement to just display the resulting sql query for the update before you try to execute it. It's surprising how easy it can be to spot the basic errors that way.

Member Avatar for b.wickham
0
1K
Member Avatar for RamiroS

I hear you, and I agree. Here's an HTML form: <html> <head> <title>PHP_Email_Form</title> </head> <body> <h1>PHP Email Form</h1> <form action="EmailFormData.php" method="post" name="mailform"> <table align=center cellpadding=5 cellspacing=0> <tr> <td>First:</td> <td><input type="text" name="data1" size="12"></td> </tr> <tr> <td>Second:</td> <td><input type="text" name="data2" size="12"></td> </tr> <tr> <td>Third:</td> <td><input type="text" name="data3" size="12"> <input type="submit" name="Send" value="Send"> …

Member Avatar for mlesniak
0
247
Member Avatar for Suzie999

I think you've just learnt an important lesson. Always remember to paste what you want to save from the paste buffer, especially if it's a large amount of program code. I find that opening a simple text editor and pasting text temporarily to it can be useful. I must admit …

Member Avatar for Suzie999
0
161
Member Avatar for randomkid73

If I was designing something like this, I would do it the other way around. By which I mean that, rather than inserting a row with empty columns, I would only insert rows that have data in each column, especially columns that are keys. When each new row is inserted …

Member Avatar for randomkid73
0
263
Member Avatar for Yidnekachew.
Re: J2ME

I can recommend http://today.java.net/pub/a/today/2005/02/09/j2me1.html as a good starting place.

Member Avatar for mlesniak
0
90
Member Avatar for glen.persson

Hi Glenn. I'm not Canadian but I have visited Canada and think it's a lovely country. I hope you enjoy Daniweb.

Member Avatar for falkopartey
0
197
Member Avatar for mlesniak

I have a VB.NET application that has a site.master with a navigation menu in landscape format. In my default.aspx I have a multiview component. When I select the second view in my multiview the navigation menu momentarily changes to portrait format and then back to landscape format. Ideally, I would …

Member Avatar for JorgeM
0
172
Member Avatar for onofej

Firstly, I think that password may have been mistyped where you accept the user's input to the variable, $password. I would suggest using a date type field in your table and construct a variable to contain the date, in the format yyyy-mm-dd. I think that's how I have done it.

Member Avatar for onofej
0
1K
Member Avatar for shihab2555

I think urtrivedi's solution is good. I would suggest changing the user inputs by adding a drop-down list of delete options containing 1. by stu_id, 2. by blood group, 3. by Student name, 4. both Student name and blood group. Then build the sql statement according to the user's selection, …

Member Avatar for shihab2555
0
256
Member Avatar for twazzer

You appear to be comparing the element numbers i and j when I think you intended to compare the contents of those elements (myArray[i] with myArray[j] in the condition: if (j>=i). j is always going to be greater than i because you have defined it as i+1 in the loop …

Member Avatar for woodenduck
0
3K
Member Avatar for Kayla1993

You may wish to decrement the number of attempts at some stage. If you want to decrement it when you have received a valid input then you will need to make the if condition body a multi-statement one. (Your current condition does not enclose the statement in braces so therefore …

Member Avatar for mlesniak
0
116
Member Avatar for billmudry

I'm no great expert in SQL but have you looked at the SELECT INTO statement? A simple version of this is :- [CODE] SELECT Column1, Column2, Column3, INTO Table2 FROM Table1 [/CODE] Obviously, you would need to add the WHERE at the end of it. [QUOTE=billmudry;1728075]Before I really dig in …

Member Avatar for urtrivedi
1
2K
Member Avatar for phorce

First determine if you have the permission to create a user. [CODE] USE MYSQL; select user,create_priv from user where user = '<your username>'; [/CODE] If the query fails or if the returned row shows a N in the create_user column, then you don't have the permission.

Member Avatar for mlesniak
0
132
Member Avatar for jQueryLover

I would be wary of using BETWEEN where the first value is greater than the second value. I'm not sure what would be returned in that instance. The two BETWEEN clauses need to be surrounded by brackets.

Member Avatar for mlesniak
0
140
Member Avatar for mangel.murti

As Rotton69 said, you need to ask a specific question, otherwise you will not get any answers. I guess that you wish to store information about a number of campaigns and that when a new campaign is created, you would like the database engine to send an email. I think …

Member Avatar for mlesniak
0
85