39,326 Topics

Member Avatar for
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
317
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
153
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
179
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
658
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
129
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
Member Avatar for anandschiru

I have two buttons Max and Min, if i click any one of the buttons it should show three more radio buttons called Age,Name,School, how to implement this help me out.

Member Avatar for Bachu
0
157
Member Avatar for daniel36

Displaying date 1970-01-01 instead of desired date. my code is date('Y-m-d',$rtTransaction->getAddedOn()); the date returned by the function is in format '1353658977',Please help me. Thank you.

Member Avatar for daniel36
0
355
Member Avatar for anandschiru

how to implement, onclick on radio button datepicker has to appear otherwise it should be hidden.

Member Avatar for anandschiru
0
176
Member Avatar for icohibari

I have a radio box that has a php variable name in its radio name. How can I pass its value to another PHP file and it will become like this, for example: <input type='radio' name='choice_a' value='$answer'> It will become a $_POST['choice_a'] after I pass it in another page. But …

Member Avatar for Bachu
0
138
Member Avatar for hwoarang69

i am new to ajax and not sure why this isnt working. when user click on link in index.php than ajax should run. in ajax it will open a cart_del_item.php file where the main code will run. this way the page wont reload every time user hit the link in …

Member Avatar for pritaeas
0
248
Member Avatar for GlenRogers

I'm not sure where to ask this, if this is the wrong place let me know. I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open …

Member Avatar for GlenRogers
0
95
Member Avatar for GraficRegret

I am trying to adjust my upload code to handle multiple uploads at the same time, I have searched and found all kinds of code that says to wrap my current upload scrypt inside of it and just change my file system to an array but every time I do …

Member Avatar for GraficRegret
0
154
Member Avatar for Woobag

Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in …

Member Avatar for EvolutionFallen
0
2K
Member Avatar for daniel36

I am fetching data from mysql database and using it.but one column 'added_on's value is not fetching other row values of corresponding to 'added_on' value is previewing correctly.i am using it simply echo $vrow['added_on']; .

Member Avatar for AARTI SHRIVAS
0
172
Member Avatar for rajurare

is it possible that creating a shopping cart we can use codeigniter as frond end and oscommerce as backend i have doubt that when you this is there any problems with the htaccess please help!!!!!!!!!!!!!!

Member Avatar for gon1387
0
150
Member Avatar for pritaeas

I just happened to come across "Laravel", a framework unknown to me. Has anybody used this one? If so, am looking for a comparison. Where does it fit in the range from small (TinyMVC) to large (Zend, Symfony).

Member Avatar for cereal
0
185
Member Avatar for spidyrace
Member Avatar for broj1
0
119
Member Avatar for GlenRogers

Hi could someone help me out with this code please? I have commented what it should do(or ewhat I want it to do!) if(isset($_POST['remove'])){ $chk = (array) $_POST['remove']; $p = implode(',',array_keys($chk)); $q = mysql_query("DELETE FROM image_gallery WHERE id IN ($p)"); $t = mysql_query("SELECT filename from image_gallery WHERE id IN ($p)"); …

Member Avatar for AARTI SHRIVAS
0
2K
Member Avatar for OsaMasw

Hello there I managed somehow to create and call categories and subcategories in DB my problem now how to design them as I want I want it something like this ![catss](/attachments/large/3/catss.jpg "catss") I used this code to retrieve the categories function display_children($parent) { $result = mysql_query('SELECT * FROM category '. …

Member Avatar for jkon
0
446
Member Avatar for arcticM

I want to make a little code that displays a different string everyday. for example I have 100 strings. I want that when a user opens my site they'll see one of the strings that day. the next day they'll see another string..and so forth. so far I thought about …

Member Avatar for pritaeas
0
184
Member Avatar for AARTI SHRIVAS

i want to use bitcoin funcatinality i my website i search for it on google but not get any proper step of using bitcoin with php can any one have the url or somthing like that from i can understand hoe to use bitcoin in my website

Member Avatar for cereal
0
207
Member Avatar for garyjohnson

This code is suppose to take the images array and use its value for the name of the table. When I echo the images varaible I get kids, which is what $images[3] is set to equal, but when I put it in the query the $result2 is echoed as resource …

Member Avatar for AARTI SHRIVAS
0
288
Member Avatar for hwoarang69

i have a form and inside i have one field and one button. when user hit submit button a php script runs. in php script i am checking error. ex name is too short etc.. now i want to add a red border only if there is a error. if …

Member Avatar for hwoarang69
0
177

The End.