199,114 Archived Topics
Remove Filter ![]() | |
<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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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): … | |
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 … | |
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 … | |
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) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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) … | |
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(" … | |
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 … | |
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 … | |
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 … | |
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, … | |
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. | |
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 … | |
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() >= … | |
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 … | |
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 … | |
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 … | |
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)); } } | |
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 | |
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) … | |
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 … | |
**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... | |
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. | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi, please I need an code to do on my website a little upload of files(simple). Thank you! ![]() |
The End.