39,393 Topics
![]() | |
Hi I am parsing .csv file which contains 21 000 records. While i am parsing it i insert records in database. It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print … | |
I have a form, that when the user click Submit, I need a php variable to be echoed to the page. This is for an upload page. So when they are waiting for the file to upload, it will say "Uploading..." until the upload is complete. All I know so … | |
Hi forum, This will probably be an easy one but i have a situation where i have multiple PHP/HTML <SELECT> tags. So i hold their id and name in an array. When i go to call this enableBox JavaScript function and i try to call the selectorName[] using the getElementById … | |
Good Morning, I am looking for some code that will simply echo "0" when the result is negative. I dont want it to output a negative number. Here is the line I am looking to add this to: [code] echo $row['GP1011_'.$wk.'']-$row['GP1011_'.$prev.'']; [/code] Any help is appreciated. Thanks Chris ![]() | |
Hi Guys, OK I'll admit it from the off I'm a complete PHP newbie, but I'm willing to learn. Here's what I've got so far... I have a search form which is being updated using an AJAX call. So far so good, but my boss would like it so that … | |
![]() | hi there.. well lets say I do have a multidimensional array of the sort shown below.. Now I do need to pass on the arrays using checkboxes..!! how do I assign single row to each checkbox so that when I onclick it posts the value to the function on the … ![]() |
i have a form and text box where user can enter amount on the basis of that amount tax rate fetch from mysql.the query below working well but when user input above 50000 , i want tax_rate should be calcuated according to 35%.. ...it givning me empty result,,, how to … | |
Right the code below selects staff members from the database by the column gp(group) which enables me to select all or filter down by their group, but i need certain members to appear in more than one group any ideas would be much appreciated [CODE] <form name="staff" action="staffs.php" method="POST"> <select … | |
Hi, i have a php script form, and i want to use the js confirmation alert, the problem is, this echo "<script> var yes=confirm('warever you want'); if (yes){}<---here i want to plase something in php code else{} </script>"; $confirm='yes' how can i math bouth codes? | |
hi all i am working on a website that will display projects and many images for each project. i want to make an interface for the website admin to login and add new projects and images for each project. i was wondering whats the best way to store the images … | |
Basically, Im trying to get a list of groups that a member is part of in an array (excluding a few), and limiting it to certain status in that group. I want all the values returned from the query to go into an array. The problem is, when I do... … | |
Hi.. I've just finished built my website,and now what left is to create the login page so that i could do the admin things.. For this website i just have one user only that is me.. So ,should i create the database for the login page or not? is that … | |
hey i seem to get this everytime i run this file within my login script Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\Isis\login.php on line 16 can anyone help me please? heres my code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; $login = $_GET['login']; setcookie("username", "$username", … | |
when we use header for redirecting, it will be redirect immediatelly. so how can page is wait after the redirct another location. I am request to all of u, if you have any suggession or code, please help me. Rgds. Dheeraj | |
Plz tell me tht How we can check tht the payment we hav received frm Google for Adsense is correct or not..?? | |
We have a script that allows us to have a button that says save page, then it displays a list of pages the user has saved. It does this via cookies. You can see the script here for better clarification. [url]http://www.tele-pro.co.uk/scripts/storeddocs/store.htm?[/url] Does anyone know of a way to do this … | |
I manage a small website. I went over the logs this morning and found a page reference on the site that should not have been there. It was of the format "/xmlrpc.php". I did a search for the term and found the XMLRPC website. I didn't understand what was written … | |
I manage a small website. I went over the logs this morning and found a number of pages or page references on the site that should not have been there. Most were of the format "/_vti_bin/". I did a search for the term and learned about the Front Page debacle. … | |
I hope this is the correct forum for this question. I manage a small website. The site uses a database with MySql. When I launched the site, around 3 years ago, the PHP code I wrote had minimal security and validation in PHP because I relied on javascript validation for … | |
Hi Experts, I have a website which is hosted in Bluehost. I would like to access my Mysql database from remote without using browser. Is there any tool to access my Mysql database something like Filezilla? Thanks in advance, Manim | |
Hi Everyone. I am wondering if I can somehow manually pass a variable through the url into a text box. I did the following an dit did not work. url is [url]http://localhost/project.php?var=001[/url] [CODE]<input id="txtstext" class="t-box" name="txtstext" type="text" value="<?php ?var=$promo; ?>" style="width:100px">[/CODE] Therefore I want to paste the above url into … | |
Hello all I have a form working perfectly, however I need to put this form in a $display_block .= "... ... ..."; which I have done and which works fine also (minus the following radio code). My problem is that when I add this code back inside the display block, … | |
Hi everyone, I'm a bit of a noob on the forum so please correct me if this is posted in the wrong area/or post is incorrect. I'm currently working on a new website ([URL="http://www.worldwidemixtapes.com"]http://www.worldwidemixtapes.com[/URL]) and currently stuck on the "sort by" section at the top of the page. What I'm … | |
Hi guys, I have prepared a website using php,html and back-end as mysql,and now i want it to launch as a website plz tell me how to configure and create a webdomain.Currently i am using Xampp server to create a website.........plz help me guys. But i want to launch it … | |
Hi. I have a problems with slovenian characters. I have a text file that has a letters like č,š etc. I want data from that file to store in my database. I tried utf8_encode and mb_convert_unicode but it doesn't work. Anyone can help? ![]() | |
This question refers to this sample page on my test site: [URL="http://www.twdesign.ca/up/display_tattoos_2009.php"]http://www.twdesign.ca/up/display_tattoos_2009.php[/URL] The following section of PHP code: [CODE=php] <table cellspacing="0" cellpadding="0" border="0" align="right"> <?php while($row = mysql_fetch_row($result2)) { $active = $row[0]; $imagenum = $row[1]; echo "<tr><td><a name='placeholder$imagenum' href='display_tattoos_2009.php?in=$imagenum' onClick='swap('toppic','$imagenum')'><img class='opacity' name='$imagenum' id='$imagenum' src='tattoothumbnails/$imagenum.png' width='72' height='72' alt='$imagenum'></a></td></tr>\n"; } ?> </table> … | |
hello, I'm a in PHP development and I have a question for you pro's: can you help me fix my code? I'm trying to make a conversion table: Fahrenheit(Tf) -> celsius(Tc) starting from Tf: 32 with steps of 5Tf and ends if Tc is over 100 I have tried to … | |
Hi this is driving me a little crazy, have been looking everywhere for a solution for the last few days. I'm new to php and i'm trying to create a simple food shopping cart, i have a repeat region for food extras attached to the food item. [CODE=php]<table width="100%" border="0" … | |
When I use a GET request from a browser address bar… [URL="http:/example.com/vast/1/73188"]http:/example.com/vast/1/73188[/URL] …it loads and displays an XML output. If you then refresh the page a new file loads. Actually, there are something like 5 different titles with load in rotation as you re-call/re-fresh the page. That’s all well and … | |
I am learning mySQL and PHP and am very appreciative of the help I have received here. As some of you know, I am working on a Hockey Pool site. One of my first experiments was to build a static form on a php page that would take the input … |
The End.