199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

I have another send email program that I am trying to fix. It's different from the previous one: index.php <form action="contact.php" name="contactform" class="row" method="post"> <h4>Request a FREE TRIAL CLASS!</h4> <div id="input_name" class="col-md-12"> <input id="name" class="form-control" type="text" name="stu_fname" placeholder="Full Name"> </div> <div id="input_email" class="col-md-12"> <input id="email" class="form-control" type="text" name="stu_email" placeholder="Enter your …

Member Avatar for pritaeas
0
360
Member Avatar for Sizwe_1

i am trying to check availability of a room i have the following code: ALTER procedure [dbo].[CheckAvailability] @checkIn datetime, @checkout datetime as Select r.RoomName, RoomNO, [Description],Location, RoomPic, Price from [Room-Type] t , Room r, Booking b where r.TypeNo= t.TypeNo AND r.RoomName Not IN( Select b.CheckinDate from Booking b where ( …

Member Avatar for ChrisHunter
0
244
Member Avatar for phfilly

Hi guys, Was wondering if you could help me please. So I have a list of menu elements from which I can drag elements into a div tag. This all works fine. But I'm struggling to replace the elements with each other. So say for instance I already have an …

Member Avatar for phfilly
0
127
Member Avatar for xuexue

Hi! I have an bound datagridview in vb.net. I have it pre-formatted the way I want it. Like for example the `.displayIndex` which columns will come first, etc. This works fine when the form is first loaded. But when it is loaded again, the format is being resetted. Sample: - …

Member Avatar for xuexue
0
226
Member Avatar for blindislands

I am trying to reverse a string input by the user and reverse the string whenever * is hit. For example, if i put abc and hit * i should get abc**cba back. There're 2 functions used it this recursive function which are echo (obtain the input key) and putchar …

Member Avatar for Schol-R-LEA
0
952
Member Avatar for Maggie_1

Hi, I'm working on this project right now which probably shouldn't be that difficult but I'm really confused and lost. The assignment's instructions are: "Write a program that uses the Monte Carlo sampling method to estimate the average number of bottles of e-Boost someone would have to drink to win …

Member Avatar for Maggie_1
0
396
Member Avatar for Kunai9292

hey, could u help me with my java programming? i have this problem: Thanks a lot!!!! The mathematician Augustus De Morgan was aged 43 in the year 1849AD. This is interesting because 43 squared is 1849, ie, in 1849 his age was the square root of the year. Given that …

Member Avatar for TylerD75
0
9K
Member Avatar for javaCONFUSEDDD

// Given that no person has ever lived longer than 123 years (and assuming that no one ever will), write a Java application that will determine if it is possible that anyone who is alive today is, has ever been, or will ever be alive in a year that is …

Member Avatar for TylerD75
0
728
Member Avatar for shahera.arafat

hii :) I've seen alot in (void)func. that at the end of it they put (return;) why they put it ??what is the logical meaning of it ?? is it the same as (return0;) ?? actually it confused me alot :/ thanks ^_^

Member Avatar for mike_2000_17
0
195
Member Avatar for patk570

Hello, I am trying to get this to loop through all the available items in a database and return the results. <?php $qry = mysqli_query($con,"SELECT * FROM `favorites` WHERE `username` = '$id'") or die(mysqli_error($con)); while($rowa = mysqli_fetch_array($qry)) { $slugname = $rowa['slug_name']; $url = $rowa['slug']; echo '<a href="'.$url.'>'.$slugname.'</a>"'; } ?> I …

Member Avatar for patk570
0
120
Member Avatar for Fatima_110

Hi, So for an assignment i had to read input from a file and then output it. The information in the file was in the following format: 1 line with a stock symbol and the next line with the quantiti bought. eg of a file that we'd use .ab 15 …

Member Avatar for Fatima_110
0
200
Member Avatar for John_78

Hello All, I want to start by saying thank you for your help and reviewing my post. I am relatively new to MySQL and databases in general so please be polite. I need help with some of my queries. I have done some but these are complex queries for me. …

Member Avatar for Jack_9
0
141
Member Avatar for dothack123

So after scanning a file, I am to format it and output it following these guidelines: -Lines are trimmed to remove any leading or trailing white space. Note that String has a method trim() that removes leading/trailing white space. ï‚· A trimmed line is displayed with X leading spaces ï‚· …

Member Avatar for dothack123
0
192
Member Avatar for davy_yg

Hello, I have been looking for youtube HTML5 player codes: I use this standard HTML codes for youtube that I thought it's going to work, but it doesn't: <object width="420" height="315" data="http://www.youtube.com/watch?v=IVdGD3s-JdY"> </object> I only see a blank white screen with that codes. Then, I thought perhaps because I am …

Member Avatar for gabrielcastillo
0
217
Member Avatar for Ashveen96

I get no errors but when the program is debugged the code doesn't work, nothing happens. Can someone please tell me what I should do? Thank You! Private m_PanStartPoint As New Point Private Sub frmBirthdayCake_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Panel2.AutoScroll = True 'Picture Box Settings …

Member Avatar for Begginnerdev
0
2K
Member Avatar for Web Spider

Hi there, I am working on signature based IDS, for this I have captured the TCP/IP traffic through Wireshark and got a pcap file, I want to extract some fields from the packet itself. How do I do this? I have been searching through the Internet and got the idea …

Member Avatar for L7Sqr
0
137
Member Avatar for vivekH

Frnds, My questions is "how come to know whether the number is even or odd without using %,/,bitwise operator".

Member Avatar for vivekH
0
278
Member Avatar for kxjakkk

I'm attempting to make a C program that builds a concordance from a piece of text. I need my program to: 1. read the text consisting of one more lines from standard input. 2. parse the lines into individual words and store each word in lower case into a word …

Member Avatar for gtcorwin
0
849
Member Avatar for kanakaraj.karre

Hi to everybody... Iam new to Webservices ..... Can anybody tell me two things ....... 1)What is the difference between the soap and rest webservices.. 2)Which one is more secure... Thanks in advance....

Member Avatar for JeffGrigg
0
72
Member Avatar for rebekah.stacy1

Write a program that asks the user to enter a series of 20 numbers. Store the numbers in a list and display the lowest, highest, total, and average of the numbers. Plus display enter a series of 20 numberes, find the lowest, highest, total, and average of the numbers in …

Member Avatar for vegaseat
0
528
Member Avatar for Waldis_1

Hi. I want to select the max value in a column (I want to increment the numbers using code instead of autonumber) I have tried some samples from the internet but it has been useless. Does anyone of you have a working code to share with me? Thanks in advanced.

Member Avatar for Santanu.Das
0
11K
Member Avatar for athlon32

This is just a little example of howto make a Gtk+ application go fullscreen. This is really useful in game programming. Please rate/comment/report errors :icon_mrgreen:

Member Avatar for Stefan_4
0
3K
Member Avatar for MatthewVb

hey guys, im trying to create a dice cricket game where u use 2 buttons, one for each innings and then use a random number generator for the number 1-6. i understand all that code but im not to sure how to write code to collect and sum numbers 1, …

Member Avatar for necrovore
0
196
Member Avatar for jjones0150

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace JonesJAsign9 { public partial class frmReservation : Form { const int PRICE_PER_DAY = 115; public frmReservation() { InitializeComponent(); } private void frmReservations_Load(object sender, EventArgs e) { } private void btnExit_Click(object sender, EventArgs e) …

Member Avatar for castajiz_2
0
197
Member Avatar for CrazyTesting

I have an SQL query within ASP.NET, but it only seems to return 1 result rather than filling the list with 4 as it should (as the query itself is correct) Code: List<string> dropItems, dropItems2; using (var dbContext = new DatabaseContext()) { dropItems = dbContext.Database.SqlQuery<String>( String.Format("SELECT locations.Code FROM locations")).ToList(); } …

Member Avatar for castajiz_2
0
369
Member Avatar for massivefermion

Hi I wanna start working with ASP.NET with C# but want to do it in ubuntu. I have installed mono and XSP2 but have some problems and questions. The instructions I followed for installing XSP2 is [this page](http://www.howtogeek.com/howto/ubuntu/run-aspnet-applications-on-ubuntu-for-developers/). But when I type "sudo apt-get install asp.net2-examples" in terminal, I get: …

Member Avatar for massivefermion
0
423
Member Avatar for moaz.amin.37

i have a problem in JDBC every thing is ok it shows this message `java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver` i already create DSN but but it stil show this error i do not know what i do My jdk is 64 bit and i create DSN of odbc 32 bit is any problem …

0
216
Member Avatar for bdanie

I need to create a leaderboard for a online quiz that I am about to conduct.... I also need to setup a login and a seperate forum for users in the same level to interact with each other...and I should moderate their comments... pls helpme..

Member Avatar for mattster
0
185
Member Avatar for Slavi

Hey guys, i am facing a small problem here, perhaps you could give me any hints with it. In one of my courses (Program analysis) we are using a language called "The While language" , it is simplified and I think only for education purposes. I am asked to make …

Member Avatar for Slavi
0
165
Member Avatar for fardous
Member Avatar for nitin1

I am using Eclipse and there is one strange error coming while building. In files, it is not showing any error but when I build it, it says **Description Resource Path Location Type Program "g++ -std=c++0x" not found in PATH test [Discovery Options] page in project properties C/C++ Problem ** …

Member Avatar for rayhaneh
0
114
Member Avatar for rayhaneh

hi ! I want to sum of digts on C++ but when get the nagative number give me the result if pastive number like when u write -98 answer u 17 not -17 #include<iostream> #include<math.h> using namespace std; int main(){ int N=0 ; cin>>N; int sum=0; while(N!=0){ sum += (N%10); …

Member Avatar for Lerner
0
180
Member Avatar for kindo

The ajaxForm function is not working well. It returns an error. Here is my code: Html: <form class="t1-form" action="ajax/upload.php" method="post" accept-charset="UTF-8" id="form" enctype="multipart/form-data"> <textarea class="txtbox" placeholder="" role="textbox" title="" name="post"></textarea> <div class="photo-selector"><button type="button" class="btn btn-default" title="attach image"><i class="fa fa-camera fa-fw"></i>&nbsp;Upload</button><div class="image-selector"><input type="hidden" name="photoId" value="" id="photoId" class="file-data" autocomplete="off"><label class="t1-label"><span class="visuallyhidden">Add photo</span> <input …

Member Avatar for JorgeM
0
136
Member Avatar for PriteshP23

Hello, I have one query with timestamp. I got below error. select users.login, FROM_UNIXTIME(AVG(UNIX_TIMESTAMP(ticket_history.create_time)-UNIX_TIMESTAMP(ticket.create_time))) from ticket_history_type inner join ticket_history on ticket_history.history_type_id=ticket_history_type.id inner join ticket on ticket.id = ticket_history.ticket_id inner join users on users.id = ticket_history.change_by where ticket.create_time BETWEEN '2014-10-01' AND '2014-10-15' AND ticket_history.name ='%%new%%Fermeture réussie%%' group by users.id *`error: function …

Member Avatar for PriteshP23
0
662
Member Avatar for RikTelner

So I've been working with C# for 2 weeks. That's not long at all, and probably and relatively to you, I have no knowledge at all. None the less, when I'm using Microsoft Word, Skype, Mozilla Firefox. I can't imagine how this works. Apparently to get MySQL to work through …

Member Avatar for deceptikon
0
230
Member Avatar for COKEDUDE

I am using a priority queue with a double as the priority. I am guessing this is cause so issues. I used these numbers first with no issues. 34.365681 34.481879 34.539832 36.715120 I then used these numbers and had a segmentation fault. 45.411042 40.481879 37.702110 38.951187 struct PRIORITYQUEUE { int …

Member Avatar for Schol-R-LEA
0
233
Member Avatar for Arphanet

hai.,. I'm struggling now to solve this problem., I could not able to save the string inputed by the user., the emulator responces error: [code=text]INT 21h, AH=09h - address: 07140 byte 24h not found after 2000 bytes. ; correct example of INT 21h/9h: mov dx, offset msg mov ah, 9 …

Member Avatar for Gustavo A.
0
7K
Member Avatar for davy_yg

This is the first url: http://localhost/SquprimeRevise/administrator/admin/invoice_edit.php?group_id=7&type=new invoice_edit.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- …

Member Avatar for broj1
0
340
Member Avatar for AbstractEden

One of my assignments, that I already turned in, dealt with collecting a student's name and gpa, and storing the information in an array. Afterwards, we were asked to display the student's information in descending order based on their gpa. I was curious if anyone has any suggestions on improving …

Member Avatar for stultuske
0
4K
Member Avatar for davy_yg

Hey I am trying to create forget password feature. When a user forget the login password an email address must be send to his/her email with a password reset link. I wonder how to do so? I have the user password stored in the database I can retrive it easily. …

Member Avatar for davy_yg
0
496
Member Avatar for cambraydesign

I have a WordPress multisite using subdomains. I have created a new website, not using wordpress, which is on the root in a folder called 'home' I am trying to remove the 'home' from the url so that it appears that this folder is the root eg. mydomain.com instead of …

Member Avatar for cambraydesign
0
347
Member Avatar for patk570

Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); //change the strain dynamically of course for your app curl_setopt($ch,CURLOPT_HTTPHEADER,array('APP_ID:'.$appID,'APP_KEY:'.$appKEY)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); //Clean it into an …

Member Avatar for broj1
0
1K
Member Avatar for harry.suren

Hi Guys, I'm a newbie to rails. I'm bit confused about the following. What is the difference between RSpec and Minitest? Which will be easy and effective to use? Thanks in advance...

0
255
Member Avatar for ddanbe

Well, start a new forms application from VS. In design mode, drop a DataGridView and a Button on the form and fill in the code. The button clickhandler will add an extra totals row to the datagrid. Here it will keep adding and totaling, which is of course meaningless, but …

Member Avatar for ddanbe
0
2K
Member Avatar for adishardis

Hi, I have the below array (or is it called string?) with javascript date and a value. I need to sord the elements by the date but i dont know how to do this?! [1366754400000, 8], [1366840800000, 3], [1366927200000, 1], [1368482400000, 1], [1384383600000, 1], [1369951200000, 1], [1377554400000, 1], [1377813600000, 8], …

Member Avatar for broj1
0
314
Member Avatar for davy_yg

//LOAD IMAGE TABLE $filename = $_FILES["file"]["name"]; $image_info = getimagesize($filename); $image_width = $image_info[0]; $image_height = $image_info[1]; echo "filename1 : ".$_FILES["file"]["name"]; echo "filename : ".$filename; echo "image info : ".$image_info[0]; echo "image info : ".$image_info[1]; echo "image width : ".$image_width; echo "image height : ".$image_height; filename1 : feature1.png filename : feature1.png image …

Member Avatar for davy_yg
0
2K
Member Avatar for HuePig

Hi, I have a Blackboard class and an Item class: void Blackboard::send(std::vector<std::string> msg, std::string to){ std::list<Subscriber*>::iterator p; for (p = subscribers.begin(); p != subscribers.end(); p++) { if ((*p)->getName() == to) //check if sender is subscribed { (*p)->update(msg); } else{ // reciever is not subscribed std::cout << "Can not find " …

Member Avatar for HuePig
0
130
Member Avatar for Sophia_1

Hi...i would like to save and edit some excel files located in server using php. The coding below upload the file but when i open the page again...the message 'no file chosen' appears. Please help on this matter...thanks a lot... <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; $conn = mysql_connect("localhost","pqa",""); mysql_select_db("pq",$conn); …

Member Avatar for Sophia_1
0
2K
Member Avatar for markii.borabon_1

I have two arrays, and my problem is when I pick one value of first array it must also remotely picked the same value of the second array. Explain : array ("Volvo","BMW","Toyota"); array ("200","300","400"); It's like when I choose "Volvo" it must also remotely choose "200" OR when I choose …

Member Avatar for gabrielcastillo
0
141
Member Avatar for COKEDUDE

I was reading this example of Priority queues and have several questions. http://matrixsust.blogspot.com/2011/11/basic-priority-queue-in-c.html #include<stdio.h> #include<malloc.h> void insert(); void del(); void display(); //How exactly do structs in structs work? Do you need to do anything special with them? Is this a //form of a linked list? Which part of this is …

Member Avatar for COKEDUDE
0
1K

The End.