Hi friends i am working for an shopping cart using php script, i placed a drop down option to display currency rate as per user selection(INR and USD). By default it will display all the price in INR, if any user select USD, then it has to show all the values in USD.I dont know how to display the USD live rates. can any one please help to resove the issue.

Member Avatar
Member Avatar
+0 forum 8

the password in database doesnt changet when i press change button in the page i show me the pass is change but when i log in with the new pass it show incorrect pass help please <?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if (@$_POST['submit']) { //check fields $oldpassword =md5(@$_POST['oldpassword']); $newpassword = md5(@$_POST['newpassword']); $repeatnewpassword =md5(@$_POST['repeatnewpassword']); //check password against db //connect to db $connect = mysql_connect ("localhost","root","") or die(); mysql_select_db("phplogin")or die(); $queryget = mysql_query ("SELECT password FROM users WHERE username='$user'")or die ("Query didnt work"); $row = mysql_fetch_assoc($queryget); $oldpassworddb = $row ['password']; //check passwords if($oldpassword==$oldpassworddb) { …

Member Avatar
Member Avatar
+0 forum 15

hi, I need a software to change my ip address.Please can you tell me about any software?

Member Avatar
Member Avatar
+0 forum 3

Again, calculate the minimum number of bills or coins required for a given amount of money (change). This time we will use a Go map instead of a csv string converted to a structure.

Member Avatar
+0 forum 0

This Go snippet calculates the minimum number of bills or coins needed for a given amount of money (change) requested. The program also gives the denomination and number. US curency is used in this example, but can be changed to another currency.

Member Avatar
+1 forum 0

How can we save a text file we make using python in another directory?The default directory is always the directory in which , the program is ? is there any way to change this?Can this be done when we are creating the file (FILE=open(filename,"w")) thanks in advance

Member Avatar
Member Avatar
+0 forum 5

Have the Blackberry Curve 8330 and, through a USB cable, have been able to move data with my windows 7 notebook. Apparently changed something in the settings on the Curve and now when connecting the USB cable windows does not show the device and its folders. Hoping for guidance on how to restore connectivity.

Member Avatar
Member Avatar
+0 forum 2

I've made a rectangle with another 3D point inside. The rectangle is textured with an image. Now, I need to move the point that is inside the rectangle to another 3D position. Does anyone knows how this is possible? The only way I found, that is no good for what I need to achieve was to create another function similar to the one I post here, clear the viewport and redefine the point. This doesn't work in my case because I want the texture to follow the point that was already defined when the texture was set, meaning that the …

Member Avatar
+0 forum 0

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP and need all the insight I can get, to get my script to work fine. Here is the modifypass.php file: <?php // configuration require("../includes/config.php"); // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // validate submission if (empty($_POST["curpassword"])) { apologize("You must provide your current password."); } else if (empty($_POST["newpassword"])) …

Member Avatar
Member Avatar
+0 forum 11

I have a Toshiba C850-P5010 notebook. Its a bit outdated and i wonder if i can increase its graphics performance. I had an on board 2gb ram which i have recently upgrade to 6gb. It has an intel HM76 chipset and i am currently running windows 7 ultimate 64 bit. The processor is intel B950 with integrated intel hd graphics but no dedicated gpu. I had read on intel website that the motherboard have a PCI Express 2.0 slot. So can i install a graphics card in my notebook? And if yes then please suggest me some of them. Thanks …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am working on this javascript application to be able to make change. I have my html and css files down good. Here is what I have. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Make Change</title> <link rel="stylesheet" href="styles.css"> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="make_change.js"></script> </head> <body> <section> <h1>Change Calculator</h1> <label>Enter amount of change due (0-99):</label> <input type="text" id="cents" /> <input type="button" value="Make Change" name="calculate" id="calculate" /><br><br> <label>Quarters:</label> <input type="text" id="quarters"><br> <label>Dimes:</label> <input type="text" id="dimes"><br> <label>Nickels:</label> <input type="text" id="nickels"><br> <label>Pennies:</label> <input type="text" id="pennies"><br> </section> </body> </html> css /* type selectors */ article, aside, figure, footer, header, nav, section { display: block; } …

Member Avatar
Member Avatar
+0 forum 2

I have to do a project on geotechs, and I need at least 3 forms, but how do you make it go from one form to another?

Member Avatar
Member Avatar
+0 forum 4

How do I change the name of my profile? I looked at edit profile but there wasn't an option for it.

Member Avatar
Member Avatar
+0 forum 4

I have an application with a filenames a bit long. I would like to remove the name of the file and extension of the php files and only show my domain or server name. Example: this is what i have: www.example.com/dir/my_long_file.php This is what i need. www.example.com

Member Avatar
Member Avatar
+0 forum 4

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, false, false); fixed.requestFocus(); However when I want to visual distinguish a right click from any other click. Usually a cell with focus looks like this: with the blue thick border around the selected cell, as well as the blue background around everything in that row ![e6ef5c487a6756ad3c6856868a02f596](/attachments/small/3/e6ef5c487a6756ad3c6856868a02f596.png "align-left") How do I …

Member Avatar
Member Avatar
+0 forum 1

hi guys i just wanna ask why does my program gets an error after i tried changing the formborder to none, the error i get is about the 'Windows' and 'Drawings' not being a part of 'System.Windows.Form.TabPage', what might be the problem of this?

Member Avatar
Member Avatar
+0 forum 2

public partial class FrmEndDateSummaryOnLoad : FrmErpSimple { List<string> mVehicleRemainderList; //SMdiForm mMdiParent; string mCurrentUserId; string mCurrentPeriodId; DataTable dataTableVehicleID = new DataTable(); DataTable dataTableVehicleNextKMS = new DataTable(); public FrmEndDateSummaryOnLoad(CErpDataConnection pErpDataConnection, CUserLoginInfo pUserLoginInfo , CRegional pRegional) : base(pErpDataConnection, pUserLoginInfo) { InitializeComponent(); } protected override void OnLoad(EventArgs e) { mCurrentPeriodId = mUserLoginInfo.GetPeriodID(); mCurrentUserId = mUserLoginInfo.GetUserID(); mCommand = mErpDataConnection.CreateCommand(); mConnection = mErpDataConnection.CreateConnection(); // dttxtDate = new SDateTimeMaskedTextBox(); dttxtDate.Focus(); SearchEndDate(); } #region EndDateSummary CDataTable dataTable; public void SearchEndDate() { if (SCUtil.IsDate(dttxtDate.Text)) { //same code as In Else {},on load date textbox is blank.. } else { string sql; string dt = mErpDataConnection.GetDBServerDateTime(); dttxtDate.Text = dt; DateTime …

Member Avatar
Member Avatar
+0 forum 4

Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT * FROM agentreg where agentid = ?"; $q = $pdo->prepare($sql); $q->execute(array($mainagentid)); $data = $q->fetch(PDO::FETCH_ASSOC); $magentid=$data['agentid']; $magentname=$data['firstname']." ".$data['lastname']; Database::disconnect(); if ( !empty($_POST)) { // keep track validation errors $firstnameError = null; $lastnameError = null; $cityError = null; $mobno1Error = null; $mainagentidError = null; // keep …

Member Avatar
+0 forum 0

hi, i want to change the image class on click on the image, i am also using radio input, here is my fiddle, check out and tell me what is wrong? [http://jsfiddle.net/Avik/7aKY3/1/](http://jsfiddle.net/Avik/7aKY3/1/)

Member Avatar
Member Avatar
+0 forum 4

How can I change the time that the images of my website (www.eduardlid2013.com) change faster?

Member Avatar
Member Avatar
+0 forum 2

On my search page [URL="http://daparadise.com/search.php"]http://daparadise.com/search.php[/URL] i want to make the logo auto change when a certain day comes up. Say like christmas. our a birthday or something like that. So how would i make the logo change in php when these days come up?

Member Avatar
Member Avatar
+0 forum 3

Wassup. I'm writing an application for web development. I have run into an issue and can't seem to overcome it. I have a button within the application that upon being clicked, will create a new tab that contains a rich text box. This new tab can then be used to edit existing files, or save new files. My problem is this; is there a way I can check for specific words in each text box in every tab and then change that words colour? For example, if the sentence int a = 2; is typed, is there a way to …

Member Avatar
Member Avatar
+0 forum 4

I have an image I would like to have it's transparancy change from 0 to 100% over about 5 seconds on page load. Any suggestions would be most appreciated. I just can't seem to get the css code right. Do I need to use javascript? Doesn't html5 do this easily? Thanks/Hal

Member Avatar
Member Avatar
+0 forum 3

I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and those forms are not loaded to above mention dropdown list. (It is loaded 2 items which are "not set" and "MyProject.program") Due to that, I couldn't be able to change a startup form. Please show me a direction.

Member Avatar
Member Avatar
+0 forum 2

I want to change form1 textbox1 text from from2 variable. This is the flow. 1. Show form1 2. click button in form1 3. then show form2 (form1 do not hide. It is still visible) 4. click button in form2 (form2 has variable and it set to form1 text box and hide form2) (In my system form1 is always show) This is my code in **form1** for access textbox from other form //FIRST CODE BLOCK public string textRoomID { get { return this.txt_RoomID.Text; } set { this.txt_RoomID.Text = value; } } This is the code of **form2** button click //SECOND CODE …

Member Avatar
Member Avatar
+0 forum 4

Hi guys, I am trying to change color of the existing items in my listbox. Can somebody please help?

Member Avatar
Member Avatar
+0 forum 2

I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and those forms are not loaded to above mention dropdown list. (It is loaded 2 items which are "not set" and "MyProject.program") Due to that, I couldn't be able to change a startup form. Please show me a direction.

Member Avatar
Member Avatar
+0 forum 1

Hi Everyone, I would like to know if there is any way to change the color of a part of text in rich textbox when the user types it automatically like the way in vb.net IDE (Classes have blue etc.). Thanks in advance, Yuvjeeth

Member Avatar
Member Avatar
+0 forum 3

im trying to do this : alter table project_info change column number proj_id int not null auto_increment, add primary key (proj_id); but mysql tells iv got an error. any help with whats wrong here ? i followed this from head first sql book (page 210 if anyone's interested ) .

Member Avatar
Member Avatar
+0 forum 2

Hi, I am able to change the language in the windows form by selecting language from ComboBox. However, I want to make it dynamic so that it will change the language of all the other forms by selecting language from ComboBox in the first form. I got some clues from these websites, but I am still struggling to achieve my objective. http://www.dotnetcurry.com/ShowArticle.aspx?ID=174 http://www.vb-helper.com/howto_net_localize_at_runtime.html Would greatly appreciate your help. Thank You.

Member Avatar
Member Avatar
+0 forum 2

The End.