64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for AARTI SHRIVAS

when i log in my web site and after login if i refresh the page it gievs me message invalid token can any one know why this problem occure in joomla website

Member Avatar for AARTI SHRIVAS
0
297
Member Avatar for grafic.web

Hi there, what the best way to add a layout, simply to manage, to my web site asp.net? Are masterpages the best solution? Can i get some example of simple editable layout? Thanks for you help

Member Avatar for harsh9
0
397
Member Avatar for narasimha9

Hi Everyone, I want to access the values from remote server. If I click search and advanced search I should retreive values from remote server. I have catergories like watches,perfumes,etc. Now based on the search I need to display the brands of x company y company for watches perfumes and …

Member Avatar for narasimha9
0
167
Member Avatar for karen.frias0316

Hi! my first time to post here. I have a program which asks for user input(img upload and text) then process it using imagecreatefromjpeg. I my uploader, it checks for an array of errors, including if there is no file upload. i want to change it and allow the process …

Member Avatar for karen.frias0316
0
860
Member Avatar for mavtcr

Friends, Please help me I have a form having 3 text boxes of data type number one text box for display- also number type one command button I want to add the figures of the three text boxes my code is as below Private Sub Command1_Click() Dim Total As Long …

Member Avatar for rishif2
0
214
Member Avatar for kerek2

Hi All's, i'm stuck in create the Chart from my Access Database. My DB got Date with Datetime format , CLICK with Integer Format. Axis X must display a Date with Click Value , but the Date is not align correct like this picture : Please help me to arrange …

Member Avatar for kerek2
0
128
Member Avatar for victor_3

The game is to play hangman, if guessed right or wrong it will ask the user if they want to play another game (w/ a different word). My code repeats the game with the user enters anything (even q) but doesnt quit when 'q' is entered. I've been trying to …

Member Avatar for victor_3
0
208
Member Avatar for Eagle.Avik

hi, can anyone point out why is this script not working?? it does not inserting data into mysql.. here is the script: if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'signupform') { $newpassword = $_POST['password']; $confirmpassword = $_POST['confirmpassword']; $code = 'NA'; $active = '1'; if ($newpassword != $confirmpassword) { $error_message = …

Member Avatar for brandon66
0
355
Member Avatar for CodingCabbage
Member Avatar for vegaseat
0
266
Member Avatar for mixelplik

I was working on a praxctice program and wanted some numbers fixed dollar amounts to 2 decimal places while others to be displayed as plain old ints. I used this code, but noticed that now ALL numbers are set as fixed 2 place decimals. Is this how fixed and setprecisioun …

Member Avatar for mixelplik
0
136
Member Avatar for 9tontruck

class Base{ Base(); ~Base(); void doSomrthing(); } Class MyCLass : public Base{ std::string name; MyCLass(); ~MyCLass(); void init(); } MyCLass::MyCLass() { init(); //runtime error occurs with this line } void MyCLass::init() { name = "MyClass"; doSomrthing(); } I am having a trouble on calling child class' contructor. What is wrong …

Member Avatar for Moschops
0
205
Member Avatar for theashman88

![3a451fbd93eb17f84f06c7ac648bdcab](/attachments/small/2/3a451fbd93eb17f84f06c7ac648bdcab.PNG "align-left") I need to create this program for class. I'm not looking for the answer. I'm simply confused on how to create a batch file where I input a number and it gives me an option. Would I use the IF command if so how would I do it. …

Member Avatar for brooks.johnson.54
0
376
Member Avatar for cambalinho

how can i test if the wheel move was negative or positive? i belive these detect the mouse position: xPos = GET_X_LPARAM(lParam); yPos = GET_Y_LPARAM(lParam); but how can i test if any key(like alt\control\shift) was pressed? (i'm talking in same message)

Member Avatar for cambalinho
0
292
Member Avatar for Mr.M

Hi Dw I'm working with ASPX.NET under VB.NET, I've created some pages one is registering the user domain that the user want to register like "www.mydomain.com" and once the user clicked the button then his domain is registered to the server and then he/she will then be transferred to another …

Member Avatar for Mr.M
0
227
Member Avatar for Deep Modi

I create the notepad, and now I want to create my notepad as Default Application so that when someone going to click on txt file then it will run/load From application not by Windows Notepad.. I know How to open the text file by getting right click and run as …

Member Avatar for Reverend Jim
0
244
Member Avatar for asaidi

HI just starting learning c++ and i think it is a good choice what youn think ? my question why are we using vectors of objects..we can store infos inside a vector and the we can display them the problem if i quit the program everything is gone..work on memory …

Member Avatar for asaidi
0
117
Member Avatar for vipula

I am trying display a link from my mysql database. I cannot get it done, It shows like this, for example **www.mywebsite.com/www.google.com** How can I get rid of my website url from this. this is my actual code in display.php <tr> <td>&nbsp;</td><td>&nbsp;</td><td align="right" valign="top"><b>Full Text Link :</b></td> <td align="left" valign="top"><?php …

Member Avatar for niranga
0
185
Member Avatar for apohbakuteh
Member Avatar for apohbakuteh
0
149
Member Avatar for mollyorgasm

i need help with my code Give the class methods to provide name and SID to a newly created Object (a constructor) and a method to determine the Grade of a piece of work. and to Write a Main method in another class which creates an instance of this class …

Member Avatar for castajiz_2
0
152
Member Avatar for Indians

here i am trying to do calculation for javascript dynamic rows. i have done auto multiplication in few rows using this function . but i want to calculate the tax percentage. how can i do that? help.. <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script> var $k = jQuery.noConflict(); $k.fn.sum = function() { var sum …

Member Avatar for Indians
0
1K
Member Avatar for Lethugs

Hi, is it possible to combine Stored Procedure and Text Command Type in Select Statement? I have a stored procedure that compute available items, it quite a bit long select statement, now i need to call this statement in another select statement which is in text command type, how will …

Member Avatar for ryanjayson
0
498
Member Avatar for glao

hello, I want to compare 2 strings.I want to find if a list with characters contains all the letters in a string. If **all** the letters in the string are in the list. For example: > mystring='abc' > mylist=['a','b','c'] must return True > > mystring='abc' > mylist=['a','c','b'] must return True …

Member Avatar for glao
0
505
Member Avatar for murali2489

Dear Team, I am writing a Swing application for my project which gets the user information and saves it in a database and then displays in a JTable. I thought like, instead of manually updating the data from our client website, why not read the data from the site and …

Member Avatar for murali2489
0
253
Member Avatar for tooota

hi all, i,ve installed IIS,visual web developer 2008 express edition, but when i started to create new ASP.NET Website named www.example.com ;a message has been displayed said : unable to create http://www.example.com . Bad Gateway. how to fix this. thanks

Member Avatar for tooota
0
234
Member Avatar for joshmac

I am trying to copy data from one database table to another. Below is the MySQL syntax I am working with: $array = []; $q1 = DB::inst()->select( "stu_term" ); foreach($q1 as $r1) { $array[] = $r1; } $bind = [ ":stuID" => $r1['stuID'],"termID" => $r1['termID'],":level" => $r1['level'] ]; $q3 = …

Member Avatar for joshmac
0
209
Member Avatar for glao

Hello, my code works fine when I don't have white spaces but I can't make it work when the string has. I am trying sth like: def lengthR(mystring): count=0 if mystring=='': return 0 while (mystring!='') and (' ' not in mystring): mystring=mystring[0:-1] lengthR(mystring) count+=1 return count but it returns 0 …

Member Avatar for glao
0
193
Member Avatar for foxhatxd

The following is a function I wrote to go along with a minesweeper program. For some crazy reason, the inner loop gets skipped after i begins to increment. For example, after i and j have been reduced by one: n = 3, k =3 i = 0 j = 0, …

Member Avatar for foxhatxd
0
167
Member Avatar for pritaeas

Am looking for a way to get the maximum value of an integer data type in a function. Since FB doesn't have an unsigned type, casting from -1 doesn't work. Nor can I find any built-in constant or function to get it. Any other ideas? (Am not looking to hardcode …

Member Avatar for pritaeas
0
787
Member Avatar for SaroGFX

Hi guys, The code works perfect on fiddle (check link below) but doesnt work properly when i [upload the same code online](http://saroverhees.be/testing/flickering2.html). What have I done wrong? http://jsfiddle.net/LRvVm/5/

Member Avatar for SaroGFX
0
174
Member Avatar for davidjennings

Hi All having a problem with the following statement " Notice: Undefined index: Username in C:\wamp\www\david\remoteaccess\index.php on line 6". I have tried defining Username in a number of ways, but I seem to missing something. Any help would be great Thanks in advance Thanks <?php session_start(); include("includes/utilities.php"); include("includes/functions.php"); $username = …

Member Avatar for davidjennings
0
378
Member Avatar for davidjennings

Hi all, I am working on the following code and I am having a problem with defined variables. On the output on the Submitted and Username Inputs as being undefined. I have added $username = (isset($_POST['Username'])) ? $_POST['Username'] : ""; at the start of the function but not suppressed. Thanks …

Member Avatar for davidjennings
0
363
Member Avatar for Violet_82

Hi guys, I was wondering if you can help me at all. I've just built a small html page which is meant to keep track of overtime. The data is entered through input fields. Then with jquery I extract the data from the input fields, create and populate a table. …

Member Avatar for diafol
0
211
Member Avatar for nadiam

So as the title entails, my if else statemnt in php won't execute. i mean i would undrstand if the 'if' didn't execute but it didn't even read the else statement. so when i submit nothing happens. <?php session_start(); if(isset($_POST['jansave'])) { $basic = $_POST['basic']; $allowance = $_POST['allowance']; $bonus = $_POST['bonus']; …

Member Avatar for nadiam
0
379
Member Avatar for cambalinho

see my windows procedure: LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { bool blnMouseEnter=false; switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_KEYUP: if (wParam ==VK_ESCAPE) DestroyWindow(hwnd); else { char strDataToSend[32]; sprintf(strDataToSend, "%c", wParam); MessageBox(NULL,strDataToSend, "keyselected",MB_OK); } break; case WM_MOUSEMOVE: SetWindowText(hwnd,"hi"); break; case WM_MOUSELEAVE://is ignored :( SetWindowText(hwnd,"bye"); break; …

Member Avatar for cambalinho
0
3K
Member Avatar for adishardis

I need to create an dynamic array which will be sent via `$("#ratings").load("ratingscalculator.php?Myarray="+myarray)` and then used in a select query $result = $database->connection->prepare("SELECT *, (SELECT COUNT(*)+1 FROM TABLE WHERE kampanj > t.kampanj and (kampanjnamn = 'Kampanjnamn_1' or kampanjnamn = 'Kampanjnamn_7' or kampanjnamn = 'Kampanjnamn_3' or kampanjnamn = 'Kampanjnamn_4' )) as …

Member Avatar for adishardis
0
162
Member Avatar for phphp

Sir, I am new to php. I have following codes to connect with mysql <?php // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to host $con=mysqli_connect($host, $username, $password); // Connect result if(!$con){ die '<script type="text/javascript">alert("Error Connecting to HOST")'. mysqli_connect_error($con).'</script>'; } else { echo "Connected" . mysqli_error($con); } // Database …

Member Avatar for phphp
0
145
Member Avatar for kkjaykamau

I have the following code that is returning an error - not all code paths return a value. static class Products { public static List<ProductResponse> GetProducts(string productsURL) <---- error thrown here. { //List<ProductResponse> products = new List<ProductResponse>(); try { var w = new WebClient(); var jsonData = string.Empty; // make …

Member Avatar for ddanbe
0
264
Member Avatar for Xcelled194

Hi guys, I'm an experienced VB programmer, but recently started using C# and I like it. But what I need to do now, is get a list of all printers installed on the computer (not a problem) and print a page to all of them (also not a problem)... BUT …

Member Avatar for sahil000005
0
1K
Member Avatar for Gus_19

I'm not even sure if I'm on the right track, but I am trying to count the excel rows for a worksheet and display them in a textox on my form. I've assuming it would be best to write the row count in the form load procedure and this is …

Member Avatar for Lethugs
0
222
Member Avatar for Amoryethel

I'm trying to put together a webpage that will leave a dropdown menu (near merch1) disabled until the checkbox is selected, but the dropdown menu insists on staying disabled. I don't know if it has to do with my checkBox function, or if that's even a necessity. Here is a …

Member Avatar for Amoryethel
0
127
Member Avatar for Dane2259

I took a UIL test this weekend, and I don't understand this problem: What is output by //2 in the code to the right? The answer is 540,280, but I'd like to know why. int ct1 = 0; int ct2 = 1; for(int i=0; i<1040;i++){ for(int j=i; j<0; j--){ ct1++; …

Member Avatar for nullptr
0
96
Member Avatar for drgr33n

Hey Guys, Was reading a few posts on here and looks like a cool place to come and try to broaden my knowledge and try and teach myself C++. I've only been reading a few days and I decided to try and create a simple calculator. I wanted to see …

Member Avatar for Juan_8
0
378
Member Avatar for glao

Hello , I am trying to implement this function: def getGuessedWord(theword, wordlist): for letter in theword: if letter in wordlist: print letter, else: print '_', For example: theword = 'hi' wordlist = ['e', 'i', 'o', 's'] must return : _i but it returns : _iNone I tried : for letter …

Member Avatar for glao
0
150
Member Avatar for ambikanair

HI, I need to have a captcha in my jsp page. The captcha code is ready and it works perfectly well when the user enters the value. It reloads the same page if the captcha enterd is wrong. I need to navigate to the next page if the value is …

Member Avatar for shadia.mohamed.9_1
0
220
Member Avatar for pritaeas

I'm currently looking into the automatic generation of release notes (or change log) when we create a new release. I'm wondering how any of you tackle this. So far I've found these four interesting options: - https://tfsreleasenotes.codeplex.com/ - https://tfschangelog.codeplex.com/ - http://fromthedevtrenches.blogspot.nl/2013/04/automatically-generate-tfs-release.html - http://mskold.blogspot.nl/2012/05/generate-accumulated-release-notes-in.html Any insights greatly appreciated.

Member Avatar for Ketsuekiame
0
176
Member Avatar for davidjennings

Hi all, I am working on the following code. In the SQL query, I am currently calling all the data from the DB using * and all works fine. I would like to be selective and call the coloumns required i.e UserID, UserFullName, UserEmail, UserLastPassword, but when I do this …

Member Avatar for davidjennings
0
367
Member Avatar for johnson_2

I have a text file points.txt which is formatted by Point2D/Point3D , X ,Y points.txt Point2D, [-9, -9] Point3D, [-9, -9, -9] Point2D, [-99, -99] Point2D, [-999, -999] Point3D, [-999, -999, -999] What I want to do is 1) retrieve the X and Y values that belong to Point2D from …

Member Avatar for johnson_2
0
665
Member Avatar for mbarandao

Hello: I need some assistance with a jquery/javascript code. I have a form with chain-linked list box of product, and prices. Each product is inside a <tr> which are added as needed. So there can be many items added to the form. The total of the items cost (qty*cost) from …

Member Avatar for mbarandao
0
753
Member Avatar for silent lover

dear all, i want to parse this url: http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/ to get all image, selectedImage, and url value. and my php syntax is: <?php $url1 = "http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/"; $url = file_get_contents("$url1"); $arr = json_decode($url,true); foreach($arr['menu']['image'] as $item) { echo "image: ". $item[0] ."<br>"; echo "image_selected: ". $item[1] ."<br>"; echo "url: ". $item[2] …

Member Avatar for pzuurveen
0
271
Member Avatar for jonsan32

I'm trying to combine the functionality of the 3 codes below to produce a delayed redirect to a random URL while displaying a bar filling up by %. Each one works great, but I need all 3. Any help would be greatly appreciated. Thanks! **The first redirects after a delay** …

Member Avatar for happygeek
0
2K

The End.