199,114 Archived Topics
Remove Filter ![]() | |
I recently moved both my eclipse and Android folder into the same location. I didn't know that this would mess up eclipse. My themes are gone and eclipse can no longer locate the Android SDK. I've looked for ways to fix this online but most of the answers involve reinstalling … | |
Hello, I want to ask user about leaving page when there is some **not saved data** on page. I wrote code <script> window.onbeforeunload= function() { return "Save your data plz"; }; </script> But the problem is when am submitting data, then am rendering another page. Due to this confirm message, … | |
I use the following code to generate a uuid concat with CMRC it works fine uuid is generated in lower case i.e. CMRC+someString in lower case I could not find anything to resolve this i had to post this on here for help how can I convert this generated uuid … | |
DATE ads visible 2014-06-23 3 1 2014-06-13 1 1 2014-06-12 4 1 2014-06-10 1 1 2014-06-09 7 1 2014-06-08 12 0 2014-06-07 12 1 i have these three colums selected in mysql through php i want to display the result like above on front end how can loop through all … | |
I guess most of you would have seen the algorithm for the following problem: **Input:** Set of intervals(time) **Output:** Partion of intervals into minimum subsets such that no interval in a subset overlaps. **The Algorithm:** Sort intervals by start times and look them in this order, put each interval in … | |
hi i have a problem while installing joomla lacally. i tried following procedure http://magazine.joomla.org/issues/issue-mar-2013/item/1110-free-e-book-%E2%80%93-introducing-joomla-30-made-easy after fill all the fields click install button its tooks more time but still not installed. am getting problem in create databae tables is stil loading. | |
Okay, so I was given this problem for my assignment, and I was wondering if I have completed the tasks the question asks. I would also like to know how I can improve this code as well. Please nothing too fancy as I have just learned arrays. Question: Write a … | |
- I have a number of player. - For each player i have to maintain 2D array how will do that in java i have no idea can you please help me. | |
Design and develop a school timetable application for a school of your choice.The application should work with a database that has information on teachers,classes, subjects and departments in the school.The application should generate a teaching timetable in a well structured format. There should be a title line with year and … | |
Calculate the total area and volume occupied by a cylinder. Correct or not? #include <stdio.h> #include <math.h> int main() { float At, V, r, h; printf("\n ===========Calculate the total area and volume occupied by a cylinder============\n"); printf("\n the base radius.......: "); scanf("%f", &r); printf("\n Cylinder height.: "); scanf("%f", &h); At … | |
try { int req_id=Integer.parseInt(request.getParameter("id")); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:amcdb","",""); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select email from detail where id="+req_id+""); String result; String to=rs.getString(4); } | |
I want to import/upload excel files to sql server via cake php, it will occur Undefined variable: ext and Undefined index: the code are shown as below. Is there any mistake in my code? Thanks in advance! <?php App::import('Vendor', 'php-excel-reader/excel_reader2'); class UploadsController extends RealTimeAnalysisAppController { public function upload() { $destination … | |
I'm doing a project in vb.net back-end is MSACCESS... I don't know how to store data from COMBO BOX and to RETRIVE data from database to COMBO BOX... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Ariff\Inventory\Inventory.mdb;Persist Security Info=False") cn.Open() str … | |
when getting file from a web server or ftp server, if we use `u = urllib2.urlopen(url)` Correct me if I am wring, it is not getting downloaded to disk, i think its getting stored in buffer(RAM), is there a way that the buffer split should get saved onto disk directly … | |
i have one problem to retrive data by row vise in new page from database and it will also keep null value space when it will printing. please help me so display data without null (space) and also row vise. | |
String[] mT={"A","B"}; String[] mT2={"A","BB","C","A","B","C","C","A","D","F","B"}; for(int i=0;i<mT.length;i++) { for(int j=0;j<mT2.length;j++) { if(mT[i].equals(mT2[j])) { System.out.println("Equal Values are :"+mT2[j]); } else { System.out.println(" Not- Equal Values are :"+mT2[j]); } } } output : Equal Values are :A Not- Equal Values are :BB Not- Equal Values are :C Equal Values are :A Not- Equal … | |
Need some tutorial to adding meta tags in php website with image or video link.. help ![]() | |
I need help trying to get my mysqli_query() function to work right. I have this so far: $raw_results = mysqli_query($con, "SELECT * FROM numdata WHERE numb='%".$k."%' UNION SELECT * FROM numdata2 WHERE numb='%".$k."%' UNION SELECT * FROM numdata3 WHERE numb='%".$k."%' UNION SELECT * FROM numdata4 WHERE numb='%".$k."%' UNION SELECT * … ![]() | |
I'm doing this $query = mysql_query("SELECT M.msg_id, M.uploads, M.message, M.description, M.type, M.text, M.views_count, U.username, C.name as country_name FROM users AS U INNER JOIN messages AS M ON U.uid = M.uid_fk INNER JOIN head_networks AS H ON M.network_id=H.network_id LEFT JOIN countries AS C ON M.country_id=C.country_id WHERE M.type='A' "); $Order = " … | |
![]() | Hi I am using the latest version of codeigniter but I want to be able to allow the user to easily type in the database, username and password like in the install of wordpress. What is the best way to do this, do I write directly over the config file? … ![]() |
I need to create a system that requires the process to add, edit, delete, and view. I have some problems with editStaff.php, I can edit the data, but it does not display the data in the database when doing the process. Do you know why? index.php <?php include("authenticationStaff.php"); include ("dbase.php"); … | |
I have a question on the WebRequest WebResponse thingee.. This is my code: public void showDateRange() { FromDate = DateTime.ParseExact(txtFromDate.Text, "M/d/yyyy", null); ToDate = DateTime.ParseExact(txtToDate.Text, "M/d/yyyy", null); WebRequest request = (WebRequest)WebRequest.Create(@"D:\Final Charts\LineGraph\linexml.aspx"); WebResponse response = request.GetResponse(); while (reader.Read()) { if (reader.Name == "category") { xmlDate = DateTime.ParseExact(reader.GetAttribute("name"), "M/d/yyyy", null); hffromPoint.Value … | |
I have started a program and when I tried to compile ant it throws this warning: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] I'm using gcc 4.7 in debian Wheezy programming in c++. Thanks for reading it ^^ | |
hi , i have a java bean string which contains html and as well as jstl code ,, html code is rendering to jsp,, butnot the jstl code , how do i render that to jsp | |
Hi, I am trying to design a vector within a vector within a vector. For example, a school has 3 floors, each floor has 5 classrooms, each classroom has 20 students, each student has a last name and a first name. I know how to create a vector for floors … | |
I have this simple program in which I want to concatenate two char pointers using memcpy, but I get access violation writing location on the memcpy line. Why is this happening and what could be done to make it work? Thanks. char *first = new char[20], *second="world!"; printf("first: "); scanf("%s",&first); … | |
how to create a simple logi form in vb.net without using database connection??? | |
<?php $picurl=$row['PicUrl']; >? <td><input type="file" name="userfile" ></td> | |
<td>Upload your pic</td> <td><?php if(!empty($picurl)){echo '<img src="'.$picurl.'" align="left"width="50px" height="50px"/>';}?> <input type="file" name="userfile" ></td> </tr> <tr class="tableheader"> <td colspan="4" class="last"><input name="submit" type="submit" class="button" value="Update"/></td> </tr> </table> </form> <?php if (isset($_POST["submit"])){ if($_FILES['userfile']['type']=="image/jpg" or $_FILES['userfile']['type']=="image/jpeg" or $_FILES['userfile']['type']=="image/gif" or $_FILES['userfile']['type']=="image/png"){ echo "Error number: ".$_FILES['userfile']['error']."<br/>"; //$_Files is a global array,its 2 dimen if(file_exists("image/".$_FILES['userfile']['name'])){ echo "file … | |
Hello programmers! I have been working on a hardware store application, where there is a `HardwareRecord`class that stores information about each object in a store (ex: nuts, bolts, screws, and so forth). Here's my declaration of this class: // HardwareRecord.h // Initialize Hardware Store File // // // Definition of … | |
Hi all, I'm running on python version 2.6 for xbmc media application, but I'm having trouble with setLabel function. When I run the code, it will update the value in the setLabel, but it will not allow me to update the values in the setLabel more than once. Here it … | |
Hello, I'm sorry if this is the wrong place to post this, I couldn't find a support section. Anyway, I'm new to VB.NET and honestly, I'm lost. I need to extract text from a HTML page, here's the line I want to extract from `<p><a href="/video7419001/0/CoD4">CoD4</a></p>` What I want to … | |
Hi, I am looking for 2D sheet optimization software (that reads inputs for different size of sheet and required cut size) the program should give an optimum cutting plan with minimum scrap size. 'like to know if anyone has developed similar program in Java. regards, Usman | |
Hi there, I have a little bit of a problem, i keep getting the following message when i try retrieve info from my database: "mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given" Here is my PHP code i don't see the error could someone please help? <?php require("connect.php"); //Check … | |
Hello I am using the following in one Web page form in ASP.NET (VS 2013) in order to 'set focus' on the username field: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub It works on that form, but not on this new one: BC30269: … | |
I was doing the class tutorial to have matrix multiplication from two dimensional arrays: X (3x2) and Y (2x3). package t7; public class Q5 { public static void main(String[] args) { int[][] matrix_X = new int [3][2]; int[][] matrix_Y = new int [2][3]; int[][] result = new int [3][3]; for … | |
- Actually i am developing music housie game and there is a condition that until 97 songs are not played housie not be completed. -And songs are played sequencly. - So i am doing is that put 97 number in ticket (every songs have a number ) but there is … | |
Hello people :) Having some difficulties regarding a simple substring. Then length of my line is 52 and I iterate it without any problems. When I use this untill the 22nd character it is working final String articleNumber = StringUtils.trimToEmpty(StringUtils.substring(lineValue, 0, 22)); If I want to pass over the 22nd … | |
I have vb.net application with SQL server express. Here is my code to save data to database, but itn not working. Here ID is not the primary key. Imports System.Data.SqlClient Imports System.Data Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim cmd As New SqlCommand Dim … | |
<?php $User_ID=$_SESSION['UserId']; $query = mysql_query("SELECT * FROM Users WHERE UserId='$User_ID'"); $row = mysql_fetch_array($query); $filename=$row['PicUrl']; if(isset($_SESSION["UserName"])){?> <img src="images/<?php echo $filename?>" align="left"width="50px" height="50px"/> <?php echo $_SESSION["UserName"]; echo"<li><a href='logout.php'>Click here to Logout.</a></li>"; echo"<li><a href='user_update.php'>edit your account detail</li>"; } ?> if pic url is empty then hide img scr | |
I asked a week ago a question about this, now I tried to google around and found this toHex method. It has an empty spot about the charset. For example I want to use UTF-8 but if I enter it returns an error and if I don't specify it, the … | |
Dear all, I have a task project to create flash live video streaming like this: [bumitv](http://bumi.tv/tv.php?point=3) Which also has many channels. The typology is like this: Satelite ----> Adobe Flash Media Live Encodes ----> Adobe Media Server ---> IIS ---> bumitv (or own web creation web) Any clue how to … | |
Hi guys, I just got into a little problem.I just deployed an application with backend db access.It works fine on major OSs being used like win7 and XP. But some functionality related to the database doesn't work properly when deployed on win8. I used a code to delete temp table … | |
Hi everyone, I'm a computer science student and I want to make a hexagonal grid or map for use as a sort of board for making basic games and so forth. I have found some similar projects in C# and am trying to figure out how to create a 'board' … | |
Help me Subject java (Input month name output number of days) user for an input 1-12 for a month, and it outputs the number of days in that month. The modifications would make it so that the user inputs the name of the month instead of the value, and the … | |
Good Afternoon, everyone. I am new to this forum so I honestly don't know what to expect. But I wanted to see if I could get some help here with a project that I am working on (No! it is NOT homework). Without giving all the specifies, which would take … | |
Hi! This is my Gridview1 and I wanted to get the value of the recid column using the GridView1_RowEditing method <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="RECID" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True"> <Columns> <asp:CommandField ShowSelectButton="True" /> <asp:BoundField DataField="RECID" HeaderText="RECID" InsertVisible="False" SortExpression="RECID" /> <asp:BoundField DataField="DOCUMENT_NUMBER" HeaderText="DOCUMENT_NUMBER" SortExpression="DOCUMENT_NUMBER" /> </Columns> </asp:GridView> Please help me, I … | |
Hello Friend's I try,If i take 2 button in a form. In this when i click button1 click event then show or display button2 on a page. |
The End.