199,114 Archived Topics
Remove Filter ![]() | |
After around 20 years of not working with PHP\MySQL, it appears I am in need of a little assistance (as I have forgotten most of what I knew) to point me in the proper direction. What I have is a basic search field that automatically pulls information from MySQL once … | |
HI, I have a spec for a golf tournament report. in it it says that to generate a report for less than 200 players the processing time of the report should be within 15 minutes. how can i test this in junt the uril for the SRS is below (section … | |
Hi Does nayone know how to test a test suite in cmd line? (in java) thanks | |
I am using Awk inside a bash shell script to search header files for c++ functions so I can add these functions to another file. All of the functions I need will have form: type getName() or type setName(type value) Right now I get all the functions listed in between … | |
I want to create a php file that reads HTML file that is uplaoded daily to a folder on my web server, when ever I open the page it needs to read the HTML file and post only data i want to use, i have created some reader but it … | |
Hello there am working on a website where members can add event. Once the member select the event type, the form for that event will appear. below are the pages i did. I also included jquery-1.7.2.min.js. Once i select any event on the **add_event.php** it brings the right form as … | |
hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be … | |
Hi all, I am having trouble figuring out a good way to go about looping my database results. Currently, my code looks something like the following (abbreviated for simplicity): $db_results = $wpdb->get_results("SELECT * FROM table"); echo '<table><thead><th>Name</th><th>Number</th></thead>'; echo '<tbody>'; foreach ($db_results as $result) { echo '<tr>'; echo '<td>' .$result->name. '</td>'; … | |
if i have a given date so how can i find in what date sun and sat comming ... ? i store 0 for sat and 6 for sun in database. ![]() | |
I believe the title of my thread explains what I am trying to do... I have a .class file, I need to look at the code has generated the .class. is this possible, and if yes, can you tell me how? | |
hi guys working on a little basic forum for collage but i keep getting this error kinda driving me crazy i know its something small but i cant spot it. any help would be great [B]Notice: Undefined index: topic_id in /users/2014/daf1/public_html/cs1109/lab18/showit.php on line 14 Warning: mysql_num_rows(): supplied argument is not … | |
Hi, I'm using a javascript messagebox, but i'm having trouble with the delete: <html> <head> <title>Adminstração</title> <!----------------------------------------------> <script type="text/JavaScript"> function confirmDelete() { var agree=confirm("Tem a certeza que quer remover?"); if (agree) { return true; <?PHP $del="DELETE FROM content_lang WHERE id_content = '".$row_lang['id_content']."'"; $q_del=mysql_query ($del, $connect); ?> } else { return … | |
Hey How do I correctly validate that a email is in the correct format? I tried using the Apache Commons Validator library but, since Im using a web service, it seems not to want to fix it up and use it. I comply the code, make the aar, put it … | |
I have an array of objects but when i traverse throught it to display its contents, it gives an error, but only if it is not full. Any suggestions? Below is the code snippet: for (int k = 0; k < array.length; k++) { msg += String.format(array[k].toString()); } JOptionPane.showMessageDialog(null, msg); | |
Hi! I want to add a picture to my opened word file. But not from file. I have some picture on a DC in my program and want it directly to Word document. Does anybode know how? | |
Hi I have a MYSQL DB hosted on a Win 2003 server on my LAN and a Mysql DB on a dedicated (linux) server at our ISP. I would like to dump a few tables to a .sql file and ftp it to the server and then import the .sql … | |
I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside … | |
http://pastebin.com/esxAR3wY This is my source code here...It is simply too big and ugly to fit in here, so I used this site.. If anyone can paste the code into his compiler and help me I will be grateful. Everything works except for the "addEntry" function (and I am guessing "resizeArrayCopy" … | |
I need help to do a research for this theme : Creating connections with databases in mobile applications . | |
I am trying to find the point of intersection of a circle and a line through its center. I want to put an arrow on the point actually, to make a directed graph. After some calculations, I found that the math that would go in is,  The figure … | |
svp que fait ce programme ? merci d'avance 1.load A 2.ADD B 3.CMP 20 4.JB etq1 5.load A 6.SUB 1 7.JMP etq2 8.etq1 load A 9.Add 5 10.etq2 STORE A | |
Hi People, need some help Actually I wanna block an IP address from a certain country... I don't want them to access my home page which is index.php.... so I've included a file "country-redirect.php" this file is placed at beginning of my index.php.... index.php code is like <?php require('country-redirect.php'); ?> … | |
hello..i'm really appreciate of what both of u did to help me..but this is my real problem. i'm trying to build fca tool and until today i only can browse the data, load the data n show it on space. i try to build a context table based on the … | |
Hello everyone! I know this is very numb question. But can anyone please help me on seeking the error? I already search the error for the past few days but still cannot find where it is wrong. Anyway there is no error come when its debug but the data not … | |
Is anyone familiar with PDFlib? I'm having trouble geting it to run. Running a WAMP server, PHP 5.2.16, followed the instructions to install the appropriate version of the DSO, the PHP monitor recognises that the extension is loaded, but when I try to use it I just get undefined function … | |
.....and vice versa? | |
more registers or something? I know about the advantages and disadvantages of 32 and 64bit bit what is the big difference between processors? | |
Under what architectures do assembly programs run? I mean,what processors can run the same assembly program? program written for p4 processor,on a core 2 duo ,core i3 .and core i 3 on a p4,p2 etc...... program written for an Intel processor on a AMD processor..... and i7 and a core … | |
hi. can anyone help me on how to create a spider web graph in vb6. is it possible? my client wants a spider web graph not the usual bar/line/pie chart. thanks in advance. | |
Hello everyone, I've been trying to generate a way to catch or suppress errors in my web browser control. actually what i really need in my browser is that if i run my project and the page cannot be display, to generate an error handler so instead of showing "The … | |
Hi, I am trying to get the data from the database into the text boxes and then update the data if something is changed in the database. I have successfully tried data binding with the text boxes and the data is displayed in the text boxes based on the session. … | |
hi everyone i create a simple program on dev++ but always a message error exist ps: im a debutante :/ plz help ! #include<stdio.h> #include <iostream> int main () {int a,b; __asm__ __volatile__ ("load a \n\t" "cmp b \n\t" "jb etq1 \n\t" "jmp etq2 \n\t" "etq1 load b \n\t" "etq2 … | |
I'm getting an error when I run this. I'm sure it's simple. Any thoughts? Code: mysql_query("INSERT INTO leads `facility` = '{$facility}' , `leadAdded` = '{$today}' , `updatedBy` = '{$username}' , `manager` = '{$username}' , `name` = '{$_POST['name']}' , etc... ") or die(mysql_error()); Error: "You have an error in your SQL … ![]() | |
Hi all i got one project to build web site for engineering shope i have done with all the things but they are looking for online functionality for that they want that any one can purchase product online by creadit card as we regularly perchase from flipkart,Ebay and all sites … | |
hi, iam not sure if this is sql question or not. but i just download "sql developer". from oracle website. and i need help setting it up. i want to connection to my localhost (myphpadmin). how can i find these things. connection name: no idea username: using myphpadmin username which … | |
I am a recent immigrant from c++ to Java. I have this problem: I have an array of objects (not yet initialized using the new operator), that I need to pass to a member function of another class for storage. In c++ I would have made a pointer to the … | |
using System; using System.Configuration; using System.Web; using System.IO; using System.Data; using System.Data.SqlClient; public class ShowImage : IHttpHandler { public void ProcessRequest(HttpContext context) { Int32 empno; if (context.Request.QueryString["id"] != null) empno = Convert.ToInt32(context.Request.QueryString["id"]); else throw new ArgumentException("No parameter specified"); context.Response.ContentType = "image/jpeg"; Stream strm = ShowEmpImage(empno); byte[] buffer = new byte[4096]; … | |
I have read plenty articles on Bool methods that have problems returning a value and i have been having the same problem except I cant see anyway around mine. public bool GetAdministrators(string userName, string password) { SqlConnection conn = new SqlConnection("Data Source=(local); database=ManagementNAV; Integrated Security=True"); SqlCommand cmd = new SqlCommand("GetAdministrators", … | |
Hello all, nice to know this helpfull forum, I'm a totally newbie and I need advice, I want to import a CSV to a table in sql, but the problem is the CSV has very strange format. ================================== Telephone,=,'88213839 Name,=,John Doe Currency,=,USD Date,Information,Source,Total,,Balance '30/04,ATM 28/04 ,'0000,000000000500000.00,DB,1.171892966E7 '30/04,DEBIT 28/04 LAWSON,'0000,000000000092100.00,DB,1.162682966E7 '30/04,DEBIT … ![]() | |
I'm very new to all of this, here's the code. f="/home/name/Desktop/text.txt" fil = open (f,"r") data = fil.read() i=int(data) fil.close() import os os.remove(f) i=i+1 inp=file(f,'w') inp.write(i) inp.close() I'm pretty much trying to make the value in the text file increase by one each time the script is run. I realize … | |
So, I am working on this site and for some reason I can not figure this out. I keep getting the error Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/header.php:42) in /home/site/public_html/index.php on line 68 I have checked everything and maybe I need new … | |
Hello, NOTE: I dont know in witch forum to post this, I'm sorry if i post it in the wrong one. I had to make a project a few months back for my school, that required me to create 3 3D objects (cube, sphere and so on) and apply some … | |
Hello everyone I am trying to create a MS word file using c programming can anyone tell me how to change the font size using c programming and one more thing i a creating this file through a embedded machine in pendrive. | |
Okay, so I'm getting a MySQL Error that says "Column count doesn't match value count at row 1". I'm not sure what the problem is. Here is the code <?php if( !preg_match( "/index.php/i", $_SERVER['PHP_SELF'] ) ) { die(); } if( $_GET['id'] ) { $id = $core->clean( $_GET['id'] ); $query = … | |
Hey, i was wondering whether anyone ever came accross developing something that would allow to have a software installed on the vm. What i mean by that is that i would want to install ie (internet explorer)/or any other windows application whithin my java app. so it could be opened … | |
I'm trying to create a poker dice game. There are comp player and user player. Each player will roll dice 5 times. Basically, it likes create 2 random array, with 5 elements in each array. I'm trying to compare the outcome of these 2 arrays. For example; 2 pairs beat … | |
Hi guys, I have a php crop issue, I am using Jcrop (JQUERY plugin) to allow users crop their user profile picture jquery doesnt have an issue (is easy to select) but when processing image crop in PHP, image crop doesnt work and all i get is an empty page … | |
Hi all, I have a java program when I compile it, it compiles fine, without any error or warning. However, when I run it, I get the following warnings. [code] bash-2.03$ javac CountSessions.java bash-2.03$ java CountSessions Writing data to file... Data written to file !! log4j:WARN No such property [maxFileSize] … | |
How can i call ? i am so much confused now ? can anybody please help me ? | |
Does anyone know the equivalent version of cvCreateImage in c++. I tried googling it but no luck. Thanks!!! |
The End.