39,323 Topics

Member Avatar for
Member Avatar for Reliable

Hey everyone, I was under the inpression that PHP would refresh dynamically and not necessarily the whole page. When I make forms in PHP I am noticing the entire page gets refreshed before the new content is displayed. this is the oppsite of what I am trying to acheive. If …

Member Avatar for diafol
0
233
Member Avatar for mehnihma

I have this code to parse XML file I need to take elements "Name" and write them all to csv header (from every product in XML) with rest of the XML data, but I need values to be as data in csv For Now I can write just header, but …

Member Avatar for LastMitch
0
258
Member Avatar for eltonpiko

hi i have some data in mysql db and i need to create a page where i have a dropdown down box with different categories. when a user select a category from a the drop down it will show data form the mysql table from that category. so how can …

Member Avatar for eltonpiko
0
189
Member Avatar for pjrey

i dont even know how to title this subject. curious how i would go about inserting data from an array file i have name array.php into my cgi. i have a set of links at the bottom, and i change one of the anchors depending on the season #summer, #fall …

Member Avatar for leakbali
0
301
Member Avatar for McLaren

Hello, I was following series of tutorials http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ 5 part is not finished yet. BUt I 4 parts are done. In 5th part there is written about .net, but I want to use php. The problem is - application worked fine when I was not using php - only html …

Member Avatar for McLaren
0
236
Member Avatar for bamastangguy_1

Hello, I have just completed a rather large project which involved data that was less than optimal html wise. Our biggest problem currently is that we have a structure like this: <ul id="postblockinfo"> <li>List One</li> <li>List Two</li> <li>List Three</li> <li>List Four</li> <li>List Five</li> </ul> Text that is suppose to be …

Member Avatar for bamastangguy_1
0
145
Member Avatar for network18

Hi, I am planning to create location tracing based on IP and presenting the relevant contents to the user as par his country, similar to msdn website. I have installed the php_geoip.dll and change the ini file too, to include this dll The dll shows enabled in IIS as well, …

Member Avatar for LastMitch
0
652
Member Avatar for waleshoola

Please I'm looking for a specific solution where php can get some certain pdf files from a folder that contains lot of pdf files and display them in a small thumbnail-like on a web page and click on a particular thumbnail would show the big pdf file on thesame web …

Member Avatar for urtrivedi
0
170
Member Avatar for daniel36

I am having the form.php file- <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? …

Member Avatar for nabcoengineer
0
153
Member Avatar for vizz

How to Convert number from digits to words into two languages **English language** and **Marathi language** Is it possible using php? Can anybody help me?

Member Avatar for vizz
0
573
Member Avatar for labibah

I have a file login.php <?php session_start(); include_once "../lib/opendb.php"; include_once "products_make.php"; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $email= $_GET['email']; $pswd= $_GET['pswd']; if ($email=="admin") { $arr['id']=0; $arr['judge_name']="Administrator"; $_SESSION['gVars']=$arr; if ( $pswd == "2755") { $arr['status']="admin"; } else { …

Member Avatar for labibah
0
142
Member Avatar for petrakid

I am using jquery.filedrop.js to create a HTML5 drop box for users. Currently I have it working about 2/3s the way I want it to. The company does yearly conferences, and I have a file path 'file/path/to/conferencefiles' where I save media (docs, images, vids, etc) based on the YEAR of …

Member Avatar for unikorndesigns
0
911
Member Avatar for Bassznapper

Hey, I've looked at several web software, they have stuff like that {$title} or {$user}? What do I need to use this one. Tpl file, and what is this in general?

Member Avatar for cmps
0
98
Member Avatar for cristian.stilpeanu.3

Hi, please help me how i mask my extension to my url website. I heard it's a code that can help me. My url website: www.name.ro/index.php?s=page1 And i want just this to show: www.name.ro on all pages. Thank you!

Member Avatar for cristian.stilpeanu.1
0
137
Member Avatar for mehnihma

Hi Can you help me with parsing XML elements I am trying to get values from XML and write it to csv file, so far I can read everything but inner elements in XML are confusing to me, so If you can give ideas how to solve this? I have …

Member Avatar for mehnihma
0
263
Member Avatar for hwoarang69

i cant find the syntax error in this query. it look fine to me. error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like, dislike, num_replys, num_view, date) VALUES('1', '2', '3','4','5','' at line …

Member Avatar for diafol
0
101
Member Avatar for GraficRegret

Is there a way to remove files from the filemanager through php? What I mean is, you can upload files to the server and specify the folder you want it in using an upload algorithm, however I have not seen any way to reverse the proccess, can I delete those …

Member Avatar for GraficRegret
0
149
Member Avatar for cmabill

I could receive the email but my php has some problem which maks the receving email looks strange, and can't use reply function on outlook. anyone could help me improve it. thank you. this contact.php <body> <?php $field_firstname = $_POST['firstname'];" ".$_POST['lastname']; $field_emailaddress= $_POST['emailaddress']; $field_telepohone = $_POST['telephone']; $field_country = $_POST['country']; $field_business …

Member Avatar for diafol
0
277
Member Avatar for Vincentas

Hi everyone, I have a website I put together for a photographer and I create a little jquery gallery on the site that works quite simply when you add a new image it automatically creates a thumbnail image to go with it. Only problem is the client contacts me all …

Member Avatar for diafol
0
187
Member Avatar for nuttyspice

Hi all, I have looked everywhere (obviously) to find the snipet of code required to show results from a dropdown list. I just need something simple that works. Here is my code so far: <?php $sql="SELECT * FROM licensing ORDER BY id DESC"; $result=mysql_query($sql); $options=""; while ($row=mysql_fetch_array($result)) { $id=$row["id"]; $url=$row["l_url"]; …

Member Avatar for EvolutionFallen
0
115
Member Avatar for earlxph8

Hello, is there any simple or basic example on how to code basic php forms and print them out from the webpage? thanks.

Member Avatar for earlxph8
0
286
Member Avatar for calibi.yau

I'm thinking that maybe this just needs a fresh set of eyes, but this is my first go at using session_set_save_handler() and storing session data in mysql so who knows, maybe I've really messed something up. I've written this up according to a few examples I found online and based …

Member Avatar for calibi.yau
0
201
Member Avatar for daniel36

I am working on one project in which it is required that in registration field if a user selects a location then the location's logitude and latitude inserted into input field.If possible,Please tell me the way to do this.

Member Avatar for pritaeas
0
126
Member Avatar for AARTI SHRIVAS

i want that when i select value from 1st drop down box according to selected value values of 2nd drop down box changes and on selecting value from 2nd drop down values of 3rd drop down changed according to 2nd drop down selected value how can i achive this i …

Member Avatar for AARTI SHRIVAS
0
272
Member Avatar for neha05

1.Category 2.Category_sub note: category_name field in Category_sub table is im using as category_id hope u get after see d snap shot i want to do in my category_sub table i am storing category_id frm category table i am attacting the screen shot of table.. i want when i click on …

Member Avatar for neha05
0
502
Member Avatar for t2nator

I host my website from my home server. I have downloa folder that constantly changes, is there a way to get the php file to automatically create download links everytime it is accessed?

Member Avatar for jasonbean
0
136
Member Avatar for garyjohnson

I am trying to insert data into the database. It is a text area from html which looks like this where is says description. Everything else works fine. <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form2" method="post" action="uploadmachine.php" enctype="multipart/form-data"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td …

Member Avatar for garyjohnson
0
316
Member Avatar for hwoarang69

i have two number qty_p and price_db. qty_p will be always int. and price_db can be int or double with 2 decimal place. $qty_p = $_POST['qty']; //get number from input field $price_db = $row['price']; //get number from database on top iam get the value and so far its fine. but …

Member Avatar for diafol
0
152
Member Avatar for GraficRegret

I am creating a database that will be filled with items for sale. I am trying to create a back end so that the items can be edited, currently I am working on the pictures that will be uploaded for the items. I need to make it so that I …

Member Avatar for GraficRegret
0
334
Member Avatar for hwoarang69

so i have a form, when user click the button 1st javascript runs, than php runs. so if user hit submit button a window pop ups which is created in javascript. problem is that i only want to pop up window if it goes in here else{ //***********pop up window …

Member Avatar for LastMitch
0
178

The End.