- Interests
- I love to do programming.
Re:
Hi all, I had created a function updateprintingqc() that work like this 1. user will click on a clickable button to update the data 2.when user click on OK,the dummy data will be create based on the main data shown in below image's link https://drive.google.com/file/d/0B46VQHVMeBTNMzVodDRxZEw3dGs/view?usp=sharing When the user click the … | |
Hi, I am working on project Signature Based IDS. For that reason I need to install libpcap on my machine. I have problem in installing.I have libpcap source directory. as I give command # ./configure I found following error configure: error: Your operating system's lex is insufficient to compile libpcap. … | |
Re:
How would I go about appending a character to the end of every line except for the last line? The script won't know the length of the variable, as the last ten lines are loaded via tail. Thanks! | |
Re:
I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP … | |
Re:
Actually iam having headers in two rows for some columns Example:Iam having start time it is divided into hours and minutes In first row it is having starttime below the start time iam having hours and minutes in the next row in different columns while bulkuploading this hours and minutes … | |
Re:
So i made a inbox system and its stores the accents(í,é,ú etc..) like í,é,ú wich is perfect, but then i made another script and its storing the í's like à and i dont know why... i have <meta charset="utf-8"> on both and mysql collation are both utf8 any one knows … | |
Re:
//exporting to csv file. // this is my code. <?php // Database Connection $host="localhost"; $uname="root"; $pass=""; $database = "db_name"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); //or die("Database Connection Failed"); $selectdb=mysql_select_db($database) or die("Database could not be selected"); $result=mysql_select_db($database) or die("database cannot be selected <br>"); // Fetch Record from Database $output = ""; $table = … | |
Re:
Im having a problem using foreach i cant seem to understand this yet. my problem is when i enter all the data needed it shows many inserting code I cant seem to figure this out This is the Output INSERT INTO `dependents`(`d_name`, `d_age`) VALUES (1,1) INSERT INTO `dependents`(`d_name`, `d_age`) VALUES … | |
Re:
i have a result of say.. 6 records.. fectched from db. each containing values a 10 b 20 c 10 a 30 c 50 a 05 i need to get printed as a 45 b 20 c 60 how to get the distinct results with the sum in the next … | |
Re:
Hi there, I want to execute a query that i saved in my database like this: ID | NAME | QUERY 1 | show_names | "SELECT names.first, names.last FROM names;" 2 | show_5_cities | "SELECT cities.city FROM city WHERE id = 4;" Is this possible ? I am kinda noob … | |
Re:
Hi. Not sure where to put this but basically I have a form. There are two buttons. One says submit and the other says print form. How do I make sure that the user has clicked the print form button before the form gets submitted. For example, a user fills … | |
|
Re:
I was going through this book on php and i was left confused what author is trying to convey. Following is that part. You must use quotes if you’re using interpolation to build the array index: $age["Clone$number"] However, don’t quote the key if you’re interpolating an array lookup: // these … |
|
Re:
What is need of Associative Arrays when Indexed arrays is present. Please Suggest. Thankx. |
Re:
Hi I am having a problem with the following line: $query = mysqli_query($link, "UPDATE `getgigs` SET `venue` = '$venue', `town` = '$town', `phone` = '$tel', `website` = '$web', `email` = '$email', `address` = '$add' WHERE `rock` = '$url'") or die("Error: ". mysqli_error($link). " with query ". $query); It is telling … | |
Re:
Having these questions and answers hard coded. I want to be able to read them from a text file and load the arrays questions with questions from questions.txt while also read answers array from answers.txt. but at the same time maintain my data structures used. How should I go about … | |
Re:
I downloaded the script just for fun and for learning some new things. For the one who are curious what this is: [url]http://facemash.moefelt.dk/[/url] I wanted to install this on my localhost, but i got this: [url]http://imageshack.us/f/41/facemashalikenotgood.png/[/url] This is my index.php code: [CODE]<?php /* * Title: Facemash-Alike Script * Author: Anders … | |
Re:
hi how to do automatic url rewriting in opencart ? Now I have a following link for login page Example : http://dejavutrends.com/index.php?route=account/login and I want to do like this http://dejavutrends.com/account/login same for the all products,manufacturers, category's So,How I can i do that Thanks in Advance | |
Re:
I hosted a web site. (Still developing and adding component to it) It was working well until today evining. But now it is not working well. some JS not working. I have back ups. (Every time i got back ups in working versions). I thought this happen due to my … | |
Re:
Hello, I am trying to fetch values from a Multidimensional array using foreach loop, i have understand the basics of foreach(){} loop, but when it comes to Multidimensional array i get confused. This is my program <?php $food =array( 'Healthy' => array('Salad','Rice', 'Vegetables'=>array('Tomatto','Onion')) , 'UnHealthy' => array('pasta', 'Vegetables'=>array('potatto', 'Corn')) ); … | |
Re:
Hi All - I am trying to find a solution to the following I am trying to update a form with checkboxes and to compare the value of the data variable $active from the db and if the value =1 then make the checked value as checked if = to … | |
Re:
Hi people, Need some help in keeping query string values intact while moving across pages via pagination. Thing is that I'm fetching records from mysql table and displaying it in tabular format. Its like... I have a page "records.php" In phpmyadmin there is "userdetails" table with columns as...... first_name, last_name, … | |
Re:
hi all! i have here a code. <?php /** * Main.php */ include("include/session.php"); ?> <html> <head> <title>Export to Excel</title> </head> <body> <form action="saverec.php" method="post"> <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . … | |
Re:
SELECT * FROM admin where company='test & test' I am running this query but getting error due to [B]&[/B].while printing Its showing SELECT * FROM admin where company='test ',not accepting & in sql query Can we run using & in query need suggestion. | |
Re:
Hi All, How to read data from server using php? Actually i'm connecting an external device to my system. That device send some data to server via GPRS. But i dont know how to get/see that data from server? Please Help Me. | |
Re:
Hey Guys... Brain is kind of dead on a late thursday afternoon in Cape Town, Can anybody please assist... what i am trying to do is: 1) in a table i have a column that is an array, its all in plain text 2) i have a table that has … | |
Re:
Hi all, Still struggling a bit with PHP here. I wrote a script a while back that performs a display of various files from a folder. In this script, I have a piece of code that determines whether or not the signed in user is an admin or a user. … | |
Re:
guys i am new to php and all what i know is html .so please tell me how to create a commenting box that allow people to comment on my website or my post . | |
Re:
Hi gurus's :cool: I have got an actionListner in my code. The problem is that when I try to set my JLabel as true it does not work and does not show up in the GUI ? :@ [CODE]Button.addActionListener( new ActionListner(){ public void actionPerformed(ActionEvent e){ label.setVisible(true); myFunction() //here's some timeconsuming … | |
Re:
hi,i m getting the following excption,though i hv properly set the classpath ,,, i m able to rum other programs,,,, plz help,,, [CODE] Exception in thread "main" java.lang.NoClassDefFoundError: admins (wrong name: a dmins/admins) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 1) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at … | |
Re:
Please help; I have input text data from a form into mySQL table, recovered it using php script and written it back to the form using value=var[ ]. If the data has spaces in it, i.e. more than one word, all characters after the first space are lost. But echo … |