64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

I have this codes: login.php <div id="loginbox"> <table> <form action="proses.php" method="POST"> <tr> <td>Login:</td> <td><input size="30px" type="text" name="username" value=""/></td> </tr> <tr> <td>Password:</td> <td><input size="30px" type="password" name="password" value=""/></td> </tr> <tr> <td></td> <td><input type="submit" value="OK"></td> </tr> </form> </table> </div> proses.php <?php $servername = "localhost"; $username = "root"; $password = ""; $database = "rustoleum"; …

Member Avatar for davy_yg
0
192
Member Avatar for davy_yg

input_berita_static.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) ? $_POST['news'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; echo $id; //Load berita if …

Member Avatar for IIM
0
174
Member Avatar for l.worboyz

basically i am working on a project for uni, which is to create a form of an abacus model. - peg_array[] stores the number of counters/beads present in each of the pegs(lines) of the abacus. i am trying to use 2 boolean methods: "boolean removeCounter(int thisPeg)" "boolean removeCounter(int thisPeg)" thisPeg …

Member Avatar for valdez25
0
308
Member Avatar for triumphost

Why do I need a static class member? What are the advantages and disadvantages of it? Is there any way that I can have non-static member fuction without doing anything outside of the class (such as passing an instance)? class Control { private: HMENU ID; HWND Handle, Parent; std::string Class, …

Member Avatar for Ancient Dragon
0
309
Member Avatar for DyO1

Hello everyone, I'm making programs from quite a while now, and they don't work on most computers, people keep asking me: What are the system requements for this and that program? My answer is: I don't know ! Basically **I need a program that tells me what .NET Framework version …

Member Avatar for HctiMitcH
0
281
Member Avatar for James19142

I need to modify an object in a QVector. I'm the `[]` operator to point to the object, which is overloaded with a constant and a non-constant version. The problem I'm having is that I don't know how to specify the non-const version, so I get compile errors telling me …

Member Avatar for James19142
0
213
Member Avatar for otto531

I've been looking around for an answer to this but have had no luck. I need to take two files and print the top most frequent words they have in common as well as their combined(sum) frequencies. This might be simple but I'm pretty new to programming. Any help? def …

Member Avatar for bumsfeld
0
312
Member Avatar for timetraveller1992

I have a website and so does my college. Except my college doesn't know that my website uses their hosting i.e. same server. So both of us share common IP address like 23.5.46.225 To access my college I can either use http://23.5.46.225/~collegename OR www.collegename.com And to access my server I …

Member Avatar for diafol
0
197
Member Avatar for murnesty

I'm designing a embedded system and we have to oftenly report system fault in different code module. So I decided to create a source file to keep the error log and I'm building a struct for that. So that, every module reporting the error log and store in a data …

Member Avatar for mike_2000_17
1
259
Member Avatar for AARTI SHRIVAS

i have started learning joomla and now my team leader say me to covert html temlapte to joomla temlate any one have idea about that how can i achive this thanx in advance

Member Avatar for IIM
0
201
Member Avatar for themaj

Need a little help on this since it seems to be vastly different than VB6. I have multiple forms and would like to set the Startup Position of secondary forms (form2 & form3) slightly lower, and to the right of the primary form (form1); similar to the 'cascade' effect in …

Member Avatar for Luc001
0
525
Member Avatar for die_raupe2

I got this snippet of code from a larger program I've been writing and I'm stuck. All I'm trying to do is read from a file line by line but I keep picking up the new line character, at least that's what I think it is. #include <stdlib.h> #include <stdio.h> …

Member Avatar for die_raupe2
0
305
Member Avatar for robnederland

Good morning DaniWeb community, I've been coding a while in Classic ASP with MS SQL, but now it's neccesary for me to take the plunge into ASP.NET, C# in particular. I have a lot of data in SQL, and I would like to know where to start, I know how …

Member Avatar for robnederland
0
115
Member Avatar for sirmcfly.works

i'm having a problem with my project where i should read the inputs from the status port of a DB-25... Input = Inp(&H379S).... whenever i trigger one of the sensor the value of INPUT will be 135 regardless of which sensor i trigger or even if i simultaneously trigger multiple …

Member Avatar for sirmcfly.works
0
318
Member Avatar for pritaeas

Wasn't sure yet whether to post this publicly. I've adjusted the PHP code snippet for the OAuth. Curl allows you to trap a redirect and this snippet just shows how to do that for the token. The regex searches for the redirect url in the returned header, it can be …

Member Avatar for pritaeas
2
558
Member Avatar for Reliable

Hey, I solved one problem and can't get rid of another. I have used spry menus before with no problem. Now that I want to use the efficiency of an include statement for my navigation it won't style correctly. [Here](http://www.mtechenterprises.com/inec/) is the site I'm working on. The problem shows on …

Member Avatar for Reliable
0
236
Member Avatar for aabbccbryanmark

import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Burger extends JFrame implements ActionListener { JLabel lblForAll, lblBelow, pic, pic1, pic2, pic3, pic4, pic5, pic6, pic7; JRadioButton rBtn, rBtn1, rBtn2, rBtn3; JCheckBox cBtn, cBtn1, cBtn2, cBtn3; JTextField txt, txt1, txt2, txt3, txt4, txt5; JButton btn1, btn2; ButtonGroup btnG; int ham=25, egg=15, …

Member Avatar for aabbccbryanmark
0
2K
Member Avatar for ChrisHunter

Is there a way to remove blank worksheets from an excel report that is generated in SSRS? I've done some research and i could find solutions such as removing blank rows and even entire sheets but only via marcor's in excel, which won't work in my case as the report …

Member Avatar for ChrisHunter
0
1K
Member Avatar for rpv_sen

Hi Friends i am working for association management project. my database is mssql i am having 2 tables as below **1. table name is community_username** ASCN_NAME COM_NAME URFNAM Email_id URAC Name1 Commname1 Name1 Email1 Yes Name1 Commname1 Name2 Email2 Yes Name1 Commname1 Name3 Email3 Yes Name2 Commname1 Name1 Email1 Yes …

Member Avatar for rpv_sen
0
187
Member Avatar for dualzNZ

Hi all I am currently working on a Battlefield player / server statistics application that i have written in C#. I am storing RAW player / server data in a table at the moment. My question is what is a recommended maximum columns per table as this statistical data which …

Member Avatar for pritaeas
0
212
Member Avatar for tony75

Hi I try to Search for xp_cmdshell string in log.txt file but i got error? my $file = "c:/logdata.txt"; open (IN,$file) or die "Can't read $file: $!"; my $tag = "xp_cmdshell"; open(IN,"<",$file) || die "could not open $file: $!\n"; while (<IN>) { if (grep(/$tag/,$_)) { #Do something } } Close(file);

Member Avatar for tony75
0
211
Member Avatar for asaidi

HI how i can pass array to a second page if($report==1){ ?> <p><img id="myclass123" src='onetwolitre.php?startDate=<?php echo urlencode($startDate)?> &endDate=<?php echo urlencode($endDate)?>&auto=<?php echo urlencode($auto)?> &netw=<?php echo urlencode($netw)?>&ser=serialize($ser)?>'/></p> <?php } $ser is array and in the second page i have this: ...... $ser = unserialize( $ser); $db=mysql_pconnect("localhost:3306","root","root"); mysql_select_db("campion",$db); $endDate2=date( 'Y-m-d', strtotime( $endDate2 ) …

Member Avatar for asaidi
0
7K
Member Avatar for ImZick

Hi how can i sort using Month i have January, February.... December i want to sort it out so the user will see it from January - December my column name is "Months" and it is in subitems(0) Thank you in a advanced

Member Avatar for ImZick
0
571
Member Avatar for helixkod

I have an XML file that is in this format: <root> Test string <Signature> WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw==</Signature> </root> I was able to produce the SHA256 and produced a string by using the following: string CalculateSHA256(const string& input) { SHA256 hash; string digest; StringSource _(input, true, new HashFilter(hash, new HexEncoder (new StringSink(digest)))); return …

Member Avatar for plenty.groover
0
409
Member Avatar for JeanPhilippe

Hi, I have kind of a weird problem and I can't figure what is wrong. This is my Ajax php page : <?php // Configure connection settings include('dbconnect.php'); include('functions.php'); // Fetch the data $timestamp=$_GET['t']; $dimanche='2013-03-03'; $samedi='2013-03-09'; $queryEvents=mysql_query("SELECT * FROM `events` WHERE `start_date`=`end_date` AND `start_date`>='$dimanche' AND `start_date`<='$samedi'"); while($resultEvents=mysql_fetch_array($queryEvents)) { echo"<div id='drag-div-".$resultEvents['id']."' …

Member Avatar for JeanPhilippe
0
216
Member Avatar for Sterotech

Hey everyone. I have a problem. I'm working on a site which let users upload files to the server. It works like this, I have created a php file to handle the uploading and when the uploading is successful it redirects back to the page where the form is located. …

Member Avatar for pixelsoul
0
126
Member Avatar for archangel1177

In a previous thread I was trying to get some code to work as a search function and after messing with it for a while I finally got it to work-sort of. What I have is a search function and when I run the code it does find the part …

Member Avatar for TnTinMN
0
205
Member Avatar for Man1919

Hi! I am Working on TimeCode Slate Project (Working with: Arduino Uno Rev. 3), Now I working on the led display(8 digit 7 segment) code. I'm trying to modify this timecode display code from: "Dan Thompson - Timecode Based Stopwatch" http://danthompsonsblog.blogspot.co.il/2008/11/timecode-based-stopwatch.html to work with led display (Originally, the code from …

Member Avatar for Man1919
0
404
Member Avatar for ankit.4aug

Hello..i tied a lot but i am not able to get the answer.. i am writing a program in which user input the array with space as delimiter eg- 4 3 5 2 3 so this value should be stored in array as a[0][0]=4 a[0][1]=3 a[0][2]=5 a[1][0]=2 a[1][1]=3 a[1][2]=0 please …

Member Avatar for tinstaafl
0
501
Member Avatar for Reliable

Hello Everyone, I don't understand why my code won't work. Everything LOOKS fine, but I don't get the email I'm supposed to get and the screen does not refresh with the thank you message the user should see once the submit button has been pressed. Below is my code (the …

Member Avatar for Reliable
0
244
Member Avatar for varma51

hi Actually I'm a web developer.I intersted to learn android.i want to know how to install complete Android setup in ubuntu.Can u please suggest the best tutorials for Android Development

Member Avatar for peter_budo
0
168
Member Avatar for kumar_g

Hello Friends I am VB.NET Programmer and currently working on a project where i have to copy the rar/zip file from any folder. While pasting it, it should extract the rar/zip contents automatically. I am done with my extracting part but Here are some problems i am facing Problem 1 …

Member Avatar for tinstaafl
0
288
Member Avatar for JorgeM

I have a scenario that I am assisting with. I am not sure how to advise in this case. I am hoping that someone with a lot more database design/normalizing experience can clarify this for me. I am working on a simple database which will contain a table to track …

Member Avatar for JorgeM
1
248
Member Avatar for NoUserNameHere

In the graphic representation of Hoare's parititon: http://i.imgur.com/OtMaNsn.png Why does 'j' decrement by 1 when 'i' reaches 6? Since A[j] <= pivot and A[i] >= pivot at that point, shouldn't A[i] swap with A[j]? I am a bit confused about this part. The pseudo code I am following is this: …

Member Avatar for NoUserNameHere
0
159
Member Avatar for Tinnin

Hi all, I'm trying to change the border style of some buttons (but nothing is happening) with the following code: <script type="text/javascript" src="JavaScript/WS_Button.js"></script> which is in the <head> section. and: <td id="register_button_area"><input type="submit" name="register" value="register" id="register_button" /></td> <td id="login_button_area"><input type="submit" name="login" value="login" id="login_button" /></td> which is in the <form>. and …

Member Avatar for Tinnin
0
369
Member Avatar for harinath_2007

Hi . I installed oracle 10g in D Drive(Because C drive is full). But when i try to uninstall , i cant see that in "add or remove programs". How to uninstall it?.. Any solutions..

Member Avatar for harinath_2007
0
193
Member Avatar for Atlanta15Braves

I have a guest entry form that takes a persons name and email. this writes the contents to a txt file. I then want to take the text file and format it so that it is an array. I use an explode function, but my code is coming up empty. …

Member Avatar for pixelsoul
0
537
Member Avatar for JavaGr33nh0rn

My homework goes like this: Write a program that accepts as many integers the user wants to input. Determine the highest and lowest numbers and subtract all other numbers from the highest number. example: numbers to be entered: 6 number1 :15 number2:20 number3:29 number4:38 number5:12 number6: 42 Output: Highest: 42 …

Member Avatar for JavaGr33nh0rn
0
337
Member Avatar for enkitosh

I'm very confused about void pointers and this notation here below. I do understand that when you have a void pointer you eventually cast it to some kind of type int, double. What I don't understand is what is happening here : copySize = *(size_t *)((char *)oldptr - SIZE_T_SIZE); copySize …

Member Avatar for enkitosh
0
291
Member Avatar for thrillride01

Hi, I know html and a little javascript, mostly self taught. I was wondering what I would need to know ahead of time to start learning PHP. Is PHP dependant on knowing more javascript or databasing? Also, I was wondering if anyone can point me in the direction of a …

Member Avatar for pritaeas
0
271
Member Avatar for ImZick

Hi, Sorry i need to ask for a help again. I have a listview and a search button i want to populate my listview when i click a button to search the field name "Last Name" for example i want to search "Sample" then it will populate my listbox with …

Member Avatar for Reverend Jim
0
503
Member Avatar for Papa_Don

Group, Via Visual Studio 2010, I've created a SQL Server database with the appropriate fields, data types, etc. I'm now ready to begin some testing, however I need to put some information in those datafields. I'm having trouble doing this. I DID NOT set the tables to display in the …

Member Avatar for Reverend Jim
0
311
Member Avatar for cyberdaemon

Good day, I am having trouble with the computation in SQL. i want to subtract the intStock and the intTotal_OutBound_items to just to get the items available. here is my SP.. INSERT INTO CO09_Report ( intMaterial ,txtDescription ,txtMaterial_Type ,txtATP_check ,intDelivering_Plant ,intOrder_Quantity ,isHeld_by_Finance ,isRejected_OOS ,isRejected_Others ,intOpen_Order_Quantity ,intOrder_Quantity_NKA ,intOrder_Quantity_RKA ,intOrder_Quantity_Others ,intStock ,intDSD_Delivery …

Member Avatar for pritaeas
0
201
Member Avatar for suavedesign

Hi, I am using jquery to make some text scroll in to my web page. I want to know how to make it appear slowly. This is the script I am using: $(document).ready(function() { $('p').animate({"left":"300px", },"500"); }); I tried this, to make it go slower: $(document).ready(function() { $('p').animate({"left":"300px", },"500","slow"; }); …

Member Avatar for pritaeas
0
181
Member Avatar for atikah8890

Hi all. I have two tables (question and answer) with q_id as the link. I would like to output the data that each table holds alternately like this: [Question 1] [Question 1 Choice of Answers] [Question 2] [Question 2 Choice of Answers] ...and so on. I've managed to filter the …

Member Avatar for broj1
0
460
Member Avatar for gabriel.riveraperossenkopp

I need to write a code with a constructor class in order to see the whole phonelist using an array that reads from a document txt, able to add a person and phone number, search just one person in the phonelist and able to modify their phone number. here is …

Member Avatar for elhkei
0
719
Member Avatar for xHellghostx

I am having a problem to understand how class inhertance works in Java.. Now I want to get information from a class to another and let's say we have class A and class B class A contains a string an int and a byte class B contains a String and …

Member Avatar for stultuske
0
283
Member Avatar for Papa_Don

Group, I have a form that opens with a panel and multiple textboxes displayed that I created via the GUI. Once the user enters the desired information within this panel, a button is click and a new panel appears with the same textboxes displayed as the original. This panel and …

Member Avatar for Papa_Don
0
173
Member Avatar for somjit{}

in an assingment, i have to implement a deque ( double ended queue ). the underlying datastructure is allowed to be arrays or linkedlist. only that im not allowed to use any prebuilt java api that does the above. (like the java.util.LinkedList api) implementing the above using doubly linked list …

Member Avatar for somjit{}
0
194
Member Avatar for patk570

Hey guys, below is my code, I am working on trying to PASS Variables to a popup window. I have it to where it show the embed window(which is blank) link, the title(which is blank) and instuctions(which is blank), but I cannot get it to pass the variables of what …

Member Avatar for LastMitch
0
3K

The End.