38,022 Topics

Member Avatar for
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
559
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
903
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
89
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
262
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
276
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
254
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
501
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
134
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
315
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
Member Avatar for Kcachilove

Hello, please am having issues querying my reports from the database. i want to creat a reports from a number tables ( rooms ==> this table is where i have all the room numbers. bookings ==> this table is where i have all the room numbers used per each date. …

Member Avatar for LastMitch
0
165
Member Avatar for R0bb0b

I am running multiple sites on one server and am tired of seeing 404s coming from missing apple-touch-icons. I am required to have 6: apple-touch-icon-57x57-precomposed.png apple-touch-icon-72x72-precomposed.png apple-touch-icon-114x114-precomposed.png apple-touch-icon-144x144-precomposed.png apple-touch-icon-precomposed.png apple-touch-icon.png Each "property" docroot I am hosting may, and probably will, have several sub-docroots all using the same apple touch icons …

Member Avatar for R0bb0b
0
656
Member Avatar for rakesh1021

hi..i was learning xml parsing in php and my question is that in the php manual i found a bunch of Xml Parser Functions under the heading **XML Parser**(http://php.net/manual/en/book.xml.php). Are these functions applicable to all kinds of parsers in php like SAX, SimpleXml and others?

Member Avatar for LastMitch
0
208
Member Avatar for joshmac

I am having a devil of a time trying to get my arrays to print right, but I am missing something. I am hoping another set of eyes can help me figure it out. I have this current function: function getArrayUsers($id) { $sql = DB::inst()->query( "SELECT * FROM " . …

Member Avatar for joshmac
0
278
Member Avatar for Shodow

so here it is, first you will input how many textfield you have then click ok after clicking ok input the value in all the textfield after that if you click add you will see the sum of all the value in the textfield help pls <html> <head> <title>Margz</title> </head> …

Member Avatar for Shodow
0
90
Member Avatar for GlenRogers

This is probably simple enough to do, but I cant get it! I have a mysql table 'links' with these fields; id int 10 primary ai link varchar 200 description varchar 200 I have a links page to populate with this info. I want the desciption as the visible text. …

Member Avatar for EvolutionFallen
0
128
Member Avatar for shiny27

Hi, here's a description of the problem I'm trying to solve: write words_to_int.php, which computes and outputs the integer that corresponds to the words that the user has entered. For example, if the user enters "two four one", your program computes the integer 241 and outputs it; if the user …

Member Avatar for pritaeas
0
156

The End.