199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values … | |
Hi All, Im generating some output files(kind of reports) in my reportGenerator class.Acutally im creating then into hard disk and showing them in browser. But i want this scenario to be developed into my project : Want to return the generated file as stream to another class, and show that … | |
Hi there! I have a problem in dealing with dynamic arrays. I have initialized the objects and now i want to print them. My main function looks like this: char* namesList[] = {"Brad Shaw","Aimen Adams","Sal Dimitry","Cristi Anreaz","Poala James"}; int idList[]={232,444,135,52,134}; Team t; Team t1( namesList,idList,5,"waqas"); //t1.Print_team(); My class Team looks … | |
How to Extract url links to a url web address. Hello everyone i hope all is well. I want to extract all link to a Url Address in a list. for Example: i have a url link : www.geynstuff.com now we want to get all Url link in a listbox … | |
Hi, can anybody help me out in where can i find ffmpeg download for windows x264 codec , am developing a website which converts any file format to mp4h264 baseline format , everythng was fine with another wrap installer called MooO ffmpeg which i found in this link http://www.moo0.com/?top=http://www.moo0.com/software/FFmpeg/ evrythng … | |
Hi! I am using a Datatable to maintain a shopping cart. In the gridview I have a textbox for quantity and I want that when the user changes the quantity, the subtotal field changes accordingly, and the datatable also gets updated accordingly. But my textChanged event is not firing at … | |
Hi all, I'm currently looking at this [JSFIDDLE](http://jsfiddle.net/MH8e4/6/) and it's 50% of what I need. I have a series of Accordions on my page (a list of courses). What I would like to do is assign these accordians to categories so that when a checkbox is pressed with the id … | |
We all use `this` keyword many times explisit with our instance fields or constructor, however, this refers to* current object*, for example: class Foo imlements ActionListener{ Foo fooObject; public Foo(){ //.... button.addActionListener(this);//this work as we pass the current object reference as an argument //or button.addActionListener(fooObject);// this will compile, but the … | |
hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring. | |
I'm sure there is a simple way to make a keystrok such as the up arrow adjust the location of the picture box, however I don't know how to tell the program to perhaps [code] picturebox1.location = picturebox1.location + 1 [/code] when a key is pressed... help please! | |
Help! application is rapidly degrading..... I have had problems with netbeans being able to keep subprojects incorporated with the main projects (loaded into tabs). Usually solved by recompiling the missing .java file, doing a clean build and they load back in. Now I have the error, component cannot be intantiated.... … | |
Hi, I am trying to get TextBox. Whenever I click on the button I should get a TextBox. Here is my code. But I am getting only one TextBox. Collapse private void button1_Click_1(object sender, EventArgs e) { txtRun = new TextBox(); txtRun.Name = "txtDynamic"; txtRun.Location = new System.Drawing.Point(20, 18); txtRun.Size … | |
I am searching for an e-commerce solution that integrates with paypal and wordpress wich can show the remaining balance for the payment for a customer. I sell services and sometimes my customer needs pay with multiple payments, within multiple days. For example : My typical price for my service is … | |
if (defined($ARGV[0]) && $ARGV[0] ne "") { $f=""; #initialize $f $dir = $ARGV[0]; chomp($dir); #directory paths should use '' instead of '/' if ($dir =~ /^\w:\//) { $_ = $dir; s/\//\\/ig; $dir = $_; } #seperate filename from directory path if given if ($dir =~ /.*\.htm$|\.html$/i) { $f = substr($dir, … | |
help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > … | |
Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url] | |
i creating a shopping website online for a store. and i wanted to add polls to get user input, than store in database. i wasnt sure how to set up tables. we going to have alost of questions. each question will have 3 to 4 answers. user can click on … | |
I have a program using old data for a game I play to indicate which pixels correspond to the health bar in my game. (my program just loops until a button is clicked and presses a key if the health bar drops too low). Unfortunately the health bar has moved … | |
trying to create menu in android but having a error. i am 98% sure my code is right. can some one take a look and let me know if there is a problem they see. res > menu > main.xml <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/action_settings" android:orderInCategory="100" android:showAsAction="never" android:title="@string/action_settings"/> <item android:id="@+id/newGame" … ![]() | |
Hi, I have created a fragment that contains code for a camera preview. I am now trying to create an activity that will look after taking the picture etc.. Here is my cam preview related code from my fragment (this works just fine) preview = (SurfaceView) view.findViewById(R.id.preview); previewHolder = preview.getHolder(); … | |
Hello, I have an app that runs good in the NETBEANS ide. When I run it as a stanalone exec.jar and place the executable in the project folder or when I place the executable on the thumb drive it runs with anomolies. When I run the app from a thumb … | |
Please, anyone here to help me correct this code, it was telling me that could not connect to database. My site is flashysky.com database name : is flashysky please help me to correct it and send it to my email jimohwareez@gmail.com I will really appreciate if you can help me … | |
I want help to solve this issue. I have a datatable which is created by doing an 'Inner Join' of three tables. This datatable is bound to a datagridview for display of the records. I want to use the bindingsource methods for doing the delete / update on the underlying … | |
Hi All, Hopefully I don't get too scolded here for this question but I can't commit my mind to answer this as I have been ill and am still not fully recovered. In saying that, I have the following set of tables (see pic) and I need to fill in … | |
I have a program with DataGridView which is bound to MS Access table. When I addept to update I get "Syntax error in INSERT INTO", but no explanation about the syntax error. Column names in the table have a space in them, such as "Last Name". Could that be the … | |
Hello , I'm working to build a programme that connects to MySQL database using Tkinter .In a step , i wanted to create dynamicly a number of entries widgets ( here : tailles_entry[i] ) depending on the number of elements of a list ( here liste1 ) . I could … | |
Hi again, Using a web script to show the servers I have, which are working here: http://www.bradlyspicer.net/ServerStatus-master/index.php Trying to add it into wordpress. And this is happening: http://www.bradlyspicer.net/server-status/ Saying it is down and saying N/A etc. If I go to http://www.bradlyspicer.net/wp-content/themes/twentyeleven/index_server.php it works. If I go to http://www.bradlyspicer.net/server-status/ it doesn't. … | |
I installed a new script onto a Linux server using cpanel. > ERROR: Nothing parsed, nothing printed > Invalid query > SELECT * FROM `dating_country` WHERE `id` IN () > MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version … | |
Hey, I have a little problem that I can't resolve, maybe you can: I want to write in a textbox a number, let's say 3. Then I'll click on a button and in the combobox it'll add the items 1, 2 and 3. Thank you for helping! | |
Hello guys, Im looking to learn VB from the ground up and wanted to know if there are any in depth informative tutorials online which are free but extensive in content. Many Thanks for any suggestions Shady | |
i have an excel file which contains the following: (only part of the file) 1 SEG-AMK EG1832 Mechanics and Materials 286 1.5 EG1832 2 SEG-AMK EG1833 Electrical Principles 375 1.5 EG1833 EG1952 EG1903 3 SEG-AMK EG1835.1 Engineering Mathematics (1) 456 1.5 EG1835 EG1001 4 SEG-AMK EG1835.2 Engineering Mathematics (2) 363 … | |
<?php session_start(); echo 'POST: '; print_r($_POST); echo '<br />SESSION: '; print_r($_SESSION); require("DBconnect.php"); $user=$_SESSION['username']; $pass=$_POST['password']; echo $pass; $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $password = hash('sha256', $pass . $salt); for($round = 0; $round < 65536; $round++) { $p= hash('sha256', $password . $salt); } echo $salt; echo "...."; echo $p; $qry="update … | |
Hello, I have a textfield price. The user has to input a price(currency) into it. I would like to do something so that when the user types in a curreny it will automatically add the commas and the zero when needed. If the user was to type in 1000000 it … | |
I want to compare a date in a database to today's date and it they are equal. Display the contents of the related date in the database in datagridview on a new form. This is my code Private Sub TimerAppoint_Tick(sender As Object, e As EventArgs) Handles TimerAppoint.Tick Dim TheDate As … | |
registration.html <!<!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>Register</title> <script type='text/javascript'> function refreshCaptcha() { var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> … | |
Hi there, I need a simple socket server which will echo a client message to all connected clients. I've found this easy py script below, but it only echos the string to the client that sent the message. Any way to mod this so that it will send the message … | |
i want to ask you when i execute the following sql statement SELECT account_identifier,least(to_number(part_1)),least (to_number(part_2)) FROM TEST5 ; i get the following error ORA-01722: invalid number 01722. 00000 - "invalid number" you should know that when i execute the following sql statement SELECT account_identifier,to_number(part_1),to_number(part_2) FROM TEST5 ; it works fine | |
actually, I was reading C++ from some time , but here i want to learn and imprve my OOPS concepts. IF you have some good links or some e-books or some good book name , please help me here. i have learnt from wiki, my one C book in which … | |
I want to have a bullet precede any text typed. When an [Enter] key is pressed, a new line starts with a bullet preceding whatever new text is typed. I've seen this done at fargo.io and workflowy.com and need to know how they do it! ![]() | |
I need help with some methods in my constructor class. My first method receives scores, computes test totals, stores them in an array and returns them. public int[] computeStudentTotals (int[][] scores) { } My next method computes grades. It invokes the computeStudentTotals method to compute the totals of three tests … | |
How do I create a function that accepts by refrence an array of character pointers? I need to be able to overwrite the contents of an array of character pointers, hence I need a pointer to that array. Here is some of my code, but it is throwing errors, so … | |
Hi I learning c++ through a book but I have found that one of the examples provided by the book is an infinite loop. So I was wonderring if anyoone can help me stop it. I tried using the 'break;' statement in every 'for' body to stop the loop but … | |
i want save image in directory path and also save path in database...sqlserver 2005 and retrive in in same folde and path | |
I want to set a text field to look through a switch statement to find the corresponding case. Can I just do that like this? switch(textField){ case 'someCase': // do something break; default: // do something else break; } Considering I already created an outlet for it in the @interface … | |
I am trying to update the shirtnumbers in table crew, by the ID from the .php page before. <?php include('conect.php'); $page = (isset($_GET['page'])) ? $_GET['page'] : 1; $startPoint = $page - 1; $data = "UPDATE crew SET shirtnumber=$POST['shirtnumber'] WHERE ID=<?php $_GET['ID']?>"; $query = mysql_query($data); $data2 = mysql_fetch_array($query); $rowCount = 0; … | |
Dear Respected Members/Users, I Cannot add/insert mysql last insert id in the third table. Kindly please help me out in adding the para_id into the last insert query. I have demonstrated in the Image file which will help alot in getting my point. Waiting for response. thanks.  | |
Hi all, My local development project has been working perfectly for...6 days now? I haven't even touched the login/register page for 2 days+ yet all of a sudden all JavaScript has seized up! I've been using the page to login all day and only now has it stopped working. I'm … | |
Ok so im working on a mapping library for my pathfinding system and im trying to figure out what Data structure would be best to use for rapid calls up to several hundred a second, as low memory usage as possible, and not too difficult to store and load pieces(chunks) … | |
Been stuck on this for bloody ages. Seems like no easy way to do it! Would appricate some help, thanks! #include <stdio.h> #include <stdlib.h> #include <time.h> char (char *s, const int len) { { static const char alphanum[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; "123456789"; for (int i = 0; i < len; ++i) … ![]() | |
I have a bit of vb.net code that will search for a string, then get a certain amount of characters after it and display in within a text box. My issue is that is some cases there are more than one string of text I need to display, so rather … |
The End.