199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for imti321

<label class='colwidth' for='selectc' >Select Courses*: </label> <form action="send.php" name="course" id="states"method="post"> <Select name="States" id="State" style="width:40px;" > <option value=></option> <option value="1">HTML 5</option> <option value="2">JQuery</option> <option value="android">American Samoa</option> <option value="flash">Flash</option> <option value="flex">Flex</option> <option value="javascript">Javascript</option> </Select> <input type='submit' name='course' value='Submit' /> </form> And my php file is this <?php //Place state array at the …

Member Avatar for Webville312
0
367
Member Avatar for ca_linddha

hello, Im new be in Programmer.. I little bit confuse with the new language of PHP5, its really different with PHP4 language,.. i try to login, but i cant create, update, or delete ..-_- any body can help me to learn more abour PHP5 please?? what actually language that should …

Member Avatar for cereal
0
187
Member Avatar for thechett22

I need help with this problem. I just don't know what to do. float price=56.95; float tax=1.05; float total=0; total=price*tax; print total; Output_____________________________ My professor wants me to determine what is printed in the output statement at the end and than do a corresponding flowchart. Can anyone help me please.

Member Avatar for munna.shk
0
98
Member Avatar for Eternal Newbie

I'm having a nightmare here! I'm calling 2 different forms, one like a loading screen and the other is the working form. The trick here is placing the 'SplashScreen1.Close()' at the end of Form2 and it will automatically close the loading screen when Fom2 finish. But I could never get …

Member Avatar for kplcjl
0
1K
Member Avatar for libathos

I tries to install a wizard for web references in eclipse, i found these plugins: org.apache.axis.wsdl2java.eclipse_1.1.0. and org.apache.axis_1.1 and when I am trying to add a web reference i get an error message: The selected wizard could not be started. Plug-in "org.apache.axis.wsdl2java.eclipse" was unable to instantiate class "org.apache.axis.wsdl2java.eclipse.wizards.WebReferenceImportWizard". org/eclipse/core/internal/utils/Assert guys …

Member Avatar for stultuske
0
247
Member Avatar for felix001

I have a model that looks like ... class Person(models.Model): name = models.CharField(max_length=50) birthday = models.DateField() def __unicode__(self): return u'%s %s' % (self.name, self.birthday) class Address(models.Model): person = models.ForeignKey(Person) address = models.CharField(max_length=150) def __unicode__(self): return u'%s %s' % (self.person, self.address) class Anniversy(models.Model): person = models.ForeignKey(Person) anniversy = models.DateField() def __unicode__(self): …

Member Avatar for chriswelborn
0
199
Member Avatar for eriger777

Hopefully this explains it better. I need to get the information from the "Value" attribute. This is how the XML structure looks like. <Item class="StringValue" referent="RBX4"> <roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4"> <External>null</External> <External>nil</External> <Item class="StringValue" referent="RBX0"> <Properties> <string name="Name">.obj(Part001)</string> <string name="Value">...</string> I need to get the information between "Value"> and …

Member Avatar for eriger777
0
185
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to send an email to a database? Example: So when the user sends an email to my websites email address the email will be broken up in to parts (Subject, From, Body etc...) and added to the database. FYI: I'm …

Member Avatar for joshl_1995
0
553
Member Avatar for raizuke.blademaster

help guys, i need to know how to add images and video files (if its possible or just its file path) on access database to be retrieve in vb6 with every images and videos filename included (can be displayed on a separate label for example)

Member Avatar for ROBBOHORT
0
213
Member Avatar for dhani09

I have this loop where i'm adding items to a session array. like this: $SQL = "SELECT * FROM tbl_product where id ='{$cartid}'"; //execute the query $result = mysql_query($SQL); //add the resultant data into a session array while($row = mysql_fetch_assoc($result)){ $_SESSION['cartItems'][] = $row; } Somewhere in my HTML document, i'm …

Member Avatar for Banderson
0
1K
Member Avatar for Fatma30

Angles are often measured in degrees, minutes, and seconds. There are 360 degrees in a circle, 60 minutes in one degree, and 60 seconds in one minute. Write a program that reads two angular measurements given in degrees, minutes, and seconds, and then calculates and prints their sum. Constants are …

Member Avatar for KaeLL
0
132
Member Avatar for jesskavidja

I have a bit of a baffling problem! I'm writing a tag matcher in XML and whenever I run the below procedure, I get a garbage value after the name of every tag **except for the first one**. When I add the array text to the parameters list, the garbage …

Member Avatar for rubberman
0
296
Member Avatar for davidjennings

Hi all am am trying to reduce duplicated elements in a php page. How can I create a function that will pass the different values in the array. Thanks in advance D for ($i=$index-$x+1; $i<=$index; $i++) { echo "<div class='partner_description' id='partner_description_" .$partners_id[$i]. "'>"; echo "<p>".$description_value[$i]. "</p>"; echo "<div class='url'>"; echo …

Member Avatar for davidjennings
0
232
Member Avatar for Deepo

Hey guys im using notepad++ to create a strict dtd xthml web page but im wondering if there is a more helpful and visual software for CSS ? something to guide me along a user friendly path and give me a basic visual preview of how my page will turn …

Member Avatar for macgurl70
0
200
Member Avatar for turpentyne

Maybe there's a better way to do this. but I thought I'd try. I want to write a simple image toggle script that would work with multiple images. When the user mouses over, change the src, using the data- attribute. Then on mouseout, revert to the original src. Is this …

Member Avatar for macgurl70
0
250
Member Avatar for amvx86

Hello everyone, Maybe someone out there can help me. I have this code that I am using and for the life of me it keeps throwing an error: If Len(ComboBox1.Text) < 1 Then MsgBox("You need to specify a target for this to operate properly.", vbExclamation, "Error") Exit Sub End If …

Member Avatar for amvx86
0
364
Member Avatar for Xytheron

Hello all! I'm a bit confused on how to use JSON. So far I've been doing fine but now that the format includes arrays I'm hitting a wall. I'm using weather underground's API to to pull weather data. My file is http://api.wunderground.com/api/658c0f8b283e4b98/tide/q/VA/Norfolk.json This may help for visualizing if you haven't …

Member Avatar for veedeoo
0
200
Member Avatar for proconfusion

Hi, I havea simulation in which cars are moving. The point is that a car has a start point (coordinates x and y) and an end point (coordinates x1 and y1). I'd like to make sure that the distances that the cars need to travel are following a gaussian distribution …

Member Avatar for proconfusion
0
149
Member Avatar for Stuugie

Hi All, With SSIS, upon load, I am receiving the following error: > Error 1 Error loading DownloadCSVPackage.dtsx: The connection "" is not found. This error is thrown by Connections collection when the specific connection element is not found. C:\Projects\EconAnalysisStatsCan\EconAnalysisStatsCan\DownloadCSVPackage.dtsx 1 1 I have gone through all of my connections …

Member Avatar for Stuugie
0
148
Member Avatar for Sadhikary

i want to access (Add, Delete, Update) data through lan (local area network)using vb.net looking for the connection string to access the same. Saurav

Member Avatar for gusano79
0
545
Member Avatar for Squidge

Good afternoon all. I have built the below class, and seem to have a problem where nothing is being displayed: <?php include_once '../include/tableStructure.php'; include 'crud.php'; //<- class by pritaeas class navigation { public $dsn; public function __construct() { $this->dsn = new crud($username, $passwd, $tableConfig); } public function nav($table, $live, $loc) …

Member Avatar for Squidge
0
260
Member Avatar for ArsenalTengu

Hello, I'm working with PostgreSQL and Python to obtain 2 columns froma database and need to print it in a specific format. Here is my current code. #!/usr/bin/python # -*- coding: utf-8 -*- import psycopg2 import sys con = None try: con = psycopg2.connect(database='DB', user='ME', password='1234') cur = con.cursor() cur.execute(" …

Member Avatar for ArsenalTengu
0
223
Member Avatar for arslan.maqsood1

Question#1Senior salesperson is paid RS.400 a wek, and a junior salesperson is pair RS.275 a week.Write a program that accepts as input a salesperson's status in the character vaiable status is's' or "S" the seniors person's salery should be displayed;if status is 'j' and 'J',the junior person's salery should be …

Member Avatar for rubberman
0
146
Member Avatar for MasterHacker110

I got into graphics programming a few days ago. I did some graphics before but very little in Ittlicht (a complete game engine with sound, rendering, network etc...) But I heard about DirectX and how great it is for games and other 2D and 3D graphics. But the API is …

Member Avatar for MasterHacker110
0
147
Member Avatar for imti321

i have three entries in phpmyadmin id name and image i want to upload image from the form into database and display that back into the form where from i am uploading it.I get this error PHP Warning: mysql_insert_id() expects parameter 1 to be resource, null given in D:\path\to\sitename\httpdocs\sql\uploadimage.php on …

Member Avatar for Webville312
0
454
Member Avatar for SQLpower

Hello. So, I have 2 questions. First is: I am trying to calculate the expiration date which will be calculated as adding the current date + the option that has been select i.e. 30, 60 or 90 days. $EXday = date('d', mktime(0,0,0,0, date(d) + $_POST[exdays], 0)); $EXmonth = date('m', mktime(0,0,0, …

Member Avatar for SQLpower
0
256
Member Avatar for ravinder yadav

when i run(compile/debug) an app after editing then it shows exception and save all changes.I shutdown my pc and when after restarting i run it again then code runs fine. if any one knows reason of this .please do tell me.

Member Avatar for ravinder yadav
0
101
Member Avatar for dshiells

Hi all, I'm trying to create my Wordpress plugin admin page using metabox's. Using add_meta_box() and do_meta_boxes() I can create the boxes and they nicely reposition, however I am struggling to find a way to save the order. I was wondering if there was a callback for when a reordering …

Member Avatar for dshiells
0
153
Member Avatar for london-G

Hello, I have one method for checking fields entered, if they are consistent enough then I am inserting into the database. Another on to check duplicates: //check fields and if alright insert in table public void checkFields(String a, String b, String c, String d){ if(a.length() >= 4 && b.length() >= …

Member Avatar for stultuske
0
116
Member Avatar for Lemorlenny

Hi, I hope I'm in the right place, I'm not an ASP.NET expert, I'm developing a site where I use MSAccess to data base. All works well except for a Class, cut and pasted, where I tried to open my access table. I used the same namespace used in all …

Member Avatar for james6754
0
8K
Member Avatar for Victoryy

Hi All, I am developing a windows application which uses Ms Access Database. The code is working smoothly in Visual Studio. But, when I create a setup for that project and install it on any machine. I am not able to write data in that datbase. I think its because …

Member Avatar for Victoryy
0
197
Member Avatar for cool_zephyr

hey i'm trying to generate numbers from 1 to 3 in a way such that number 1 has the probability 70% being generated number 2 has the probability of 20% of being generated number 3 has the probability of 10% of being generated how do i do that?? can anyone …

Member Avatar for cool_zephyr
0
209
Member Avatar for joeyliew7

how do i convert this code to VB? i am new in VB.Pls help. ABC (int xyz) { If xyz==0 { return(0) } else { return (xyz + ABC(xyz-1)); } }

Member Avatar for joeyliew7
0
216
Member Avatar for code_rum

Hi, I have imported .csv file and column is appearing as Col 1, Col 2... and the data I want as a column name is appearing as a first row. How do I convert my first row into column name in phpmyadmin. Thanks in advance

Member Avatar for code_rum
0
1K
Member Avatar for rubai

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'some_user'@'abcd.efgh.com' (using password: YES) in /home/some_dir/public_html/some_dir/db.php on line 1 Fatal Error: MySql connection failed.Access denied for user 'some_user'@'abcd.efgh.com' (using password: YES) Here is my code of db.php <?php $connect = mysql_connect('www.example.com','some_user','some_password'); if(!$connect) die('Fatal Error: MySql connection failed.' . mysql_error()); $connect_db = mysql_select_db('db_name'); if(!$connect_db) …

Member Avatar for pritaeas
0
363
Member Avatar for Mike Bishop

to open a MDIChild from my main MDIparent form I would use Dim ChildForm As New FrmComponent ChildForm.MdiParent = Me m_ChildFormNumber += 1 ChildForm.Text = "Add & Edit Components" ChildForm.Show() But I want to open another from from FrmComponent which used the same MDIParent. at the moment I am using …

Member Avatar for tinstaafl
0
326
Member Avatar for raajsj

**Hai all,** I am developing web application using Asp.net frontend and MS Sql is backend, and i don't know **how can i retrieve Bit(Data Type) value from my database**, i don't know this... please anyone help...

Member Avatar for raajsj
0
136
Member Avatar for furalise

Hi all. I've read allot about streams but I'm wondering if anyone can tell me why cin >> stringstream doesn't work? I'm getting there but my understanding has some floors in it. eg. stringstream Mystr; cin >> Mystr; Thanks so much.

Member Avatar for furalise
0
4K
Member Avatar for L-D

Hi! Ok, here's my problem... Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hjhwkhjrf'@'10.1.1.43' (using password: YES) in /home/a6653219/public_html/connect.php on line 12 (pw changed) Lower part of connect.php..... $=line 12 // do not edit below this line!! /////////////////////////////////////////////////////////////////////// $dblink=MYSQL_CONNECT($MySqlHostname, $MySqlUsername, $MySqlPassword) or die("Could not connect to database"); @mysql_select_db("$MySqlDatabase") or die( "Could …

Member Avatar for Szabi Zsoldos
0
139
Member Avatar for eddiesaliba

Hi! I am testing the "session" object and I don't know why it is losing data when I change the web page. I created a simple software to show the problem: See the code: Page index.jsp: ============== <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Login</title> </head> …

Member Avatar for eddiesaliba
0
873
Member Avatar for dmp24

so im trying to get a gridview to work! im doing it mannualy `Inline Code Example Here` abre_ligacao() Dim sqlqtz As String = "SELECT * FROM cobranca ORDER BY cobranca" 'MsgBox(sqlatendimento) Dim dsqtz As DataSet = GetData(sqlqtz) If (dsqtz.Tables.Count > 0) Then GridView1.DataSource = dsqtz GridView1.DataBind() Else MsgBox("Não há dados …

Member Avatar for |-|x
0
298
Member Avatar for Varunkrishna

I had created a dropdownlist box as follows. The contents of default.aspx is listed below <asp:DropDownList runat="server" ID="day" CssClass="dobselect"> <asp:ListItem Value="0" Text="DAY"></asp:ListItem> </asp:DropDownList> <asp:DropDownList runat="server" ID="month" CssClass="dobselect"> <asp:ListItem Value="0" Text="MONTH"></asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="year" CssClass="dobselect" runat="server"> <asp:ListItem Value="0" Text="YEAR"></asp:ListItem> </asp:DropDownList> Then in the default.cs.aspx I had added the following code to …

Member Avatar for |-|x
0
2K
Member Avatar for davidjennings

Hi all I have an sql output query problem I am trying to resolve. The problem is that I have centres that offer Awards and quals and some centres only offer awards or quals only. What I need to process is the centres that offer both awards and quals. tbl.net.qualification …

Member Avatar for davidjennings
0
172
Member Avatar for floatingshed

I've been given a pile of reports generated by someone who is no longer with us. They each begin with a decimal date and time like this: "41433.662413","41401,250002" I have tried many different methods using datetime and can't figure out how to recover the date. I know (because of a …

Member Avatar for woooee
0
470
Member Avatar for nicetapo

I would like to replace 'cat/dog/cat' with 'cat/tiger/deer' in a particular .txt file. How should I do this in perl? I tried /usr/bin/perl -p -i -e "s/'cat/dog/cat'/'cat/tiger/deer'/g" sample.txt but it didn't work.

Member Avatar for nicetapo
0
221
Member Avatar for ytrobe

I am using WAMP server to code a form. The form contains 6 different pages. On the WAMP server when I go through the form it works perfectly, all session variables are brought from one page to the next, and so on. I call session_start() before each and every page …

Member Avatar for ytrobe
0
2K
Member Avatar for davidjennings

Hi all I am request the following data from the database (image_id and description). I need to put each of them in a separate arrays and then echo out contents of both arrays I have tried array_push and implode without success. Any assistance would we appreciated. Thanks in advance D …

Member Avatar for davidjennings
0
3K
Member Avatar for Smeagel13

Take the following C structure: typedef struct dataPoint { tick * tickData; struct dataPoint * previousDataPoint; struct dataPoint * nextDataPoint; } dataPoint; Compiling on a 64-bit system with 8-byte words, this structure takes up 24 bytes (3 words) of memory. 24 % 8 = 0 ... so it is word …

Member Avatar for Smeagel13
0
296
Member Avatar for nathan.pavlovsky

Hello, as a project I am working on a player vs. computer game of Connect Four- where the computer has a lot of attitude. My code is below; the comments explain everything. ` // A Player vs. Computer Connect 4 game` #include <iostream> #include <vector> #include <string> #include <cstdlib> #include …

Member Avatar for nathan.pavlovsky
0
1K
Member Avatar for microlab123

Hi, please I need an code to do on my website a little upload of files(simple). Thank you!

Member Avatar for diafol
0
71

The End.