Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~31.9K People Reached
Interests
I love to do programming.
Favorite Tags
Member Avatar for Var_1

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 …

Member Avatar for arunmagar
0
2K
Member Avatar for arunmagar

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. …

Member Avatar for Web Spider
0
1K
Member Avatar for fheppell

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!

Member Avatar for arunmagar
0
165
Member Avatar for mexabet

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 …

Member Avatar for cereal
0
342
Member Avatar for ashalatha

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 …

Member Avatar for ashalatha
0
330
Member Avatar for centenond
Re: help

So i made a inbox system and its stores the accents(í,é,ú etc..) like &iacute;,&eacute;,&uacute; 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 …

Member Avatar for centenond
0
118
Member Avatar for kingwash

//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 = …

Member Avatar for chaitu11
0
3K
Member Avatar for jj.dcruz

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 …

Member Avatar for arunmagar
0
460
Member Avatar for Raadha

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 …

Member Avatar for Raadha
0
143
Member Avatar for LeonardK

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 …

Member Avatar for pritaeas
0
227
Member Avatar for ahudson

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 …

Member Avatar for arunmagar
0
3K
Member Avatar for Rahul47

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 …

Member Avatar for arunmagar
0
169
Member Avatar for Rahul47

What is need of Associative Arrays when Indexed arrays is present. Please Suggest. Thankx.

Member Avatar for Rahul47
0
94
Member Avatar for gilgil2

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 …

Member Avatar for arunmagar
0
153
Member Avatar for ferdinandmucos

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 …

Member Avatar for arunmagar
0
262
Member Avatar for Dannis86

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 …

Member Avatar for arunmagar
0
2K
Member Avatar for NitsPatel

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

Member Avatar for arunmagar
0
168
Member Avatar for weeraa

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 …

Member Avatar for arunmagar
0
277
Member Avatar for tahakirmani88

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')) ); …

Member Avatar for diafol
0
6K
Member Avatar for davidjennings

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 …

Member Avatar for davidjennings
0
186
Member Avatar for Albert Pinto

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, …

Member Avatar for diafol
0
1K
Member Avatar for mallows.yum

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: ' . …

Member Avatar for arunmagar
0
358
Member Avatar for jacob21

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.

Member Avatar for jacob21
0
249
Member Avatar for karthik_ppts

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.

Member Avatar for karthik_ppts
0
128
Member Avatar for Macko888

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 …

Member Avatar for diafol
0
197
Member Avatar for phaedrusGhost

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. …

Member Avatar for sandeepji1
0
195
Member Avatar for Awah Mohamed
Re: code

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 .

Member Avatar for sandeepji1
0
86
Member Avatar for Web_Sailor

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 …

Member Avatar for Web_Sailor
0
3K
Member Avatar for har58

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 …

Member Avatar for stephen84s
0
1K
Member Avatar for Wouldbecomp

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 …

Member Avatar for Wouldbecomp
0
81