39,393 Topics

Member Avatar for
Member Avatar for sen4ik

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 …

Member Avatar for MooGeek
0
63
Member Avatar for Smudly

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 …

Member Avatar for Shaswat
0
77
Member Avatar for MackAttack30

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 …

Member Avatar for MackAttack30
0
324
Member Avatar for ceeandcee

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

Member Avatar for nevvermind
0
114
Member Avatar for julianmoors

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 …

0
87
Member Avatar for madsy

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 …

Member Avatar for madsy
0
152
Member Avatar for mangel.murti

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 …

Member Avatar for mangel.murti
0
97
Member Avatar for dandixon

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 …

Member Avatar for dandixon
0
135
Member Avatar for Zill

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?

Member Avatar for Ithisham
0
199
Member Avatar for rori

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 …

Member Avatar for ZubiluNajmal
0
116
Member Avatar for jonathan96

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

Member Avatar for vibhaJ
0
100
Member Avatar for samsons17

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 …

Member Avatar for swilliamrobert
0
247
Member Avatar for jamesyrawr

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

Member Avatar for vibhaJ
0
126
Member Avatar for Dheeraj Kumar

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

Member Avatar for jogesh_p
0
284
Member Avatar for coykiesaol

Plz tell me tht How we can check tht the payment we hav received frm Google for Adsense is correct or not..??

0
67
Member Avatar for valonesal

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 …

0
62
Member Avatar for Nathaniel10

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 …

Member Avatar for Nathaniel10
0
120
Member Avatar for Nathaniel10

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

Member Avatar for Nathaniel10
0
160
Member Avatar for Nathaniel10

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 …

Member Avatar for hielo
0
144
Member Avatar for manim

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

Member Avatar for drjohn
0
149
Member Avatar for toocoded

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 …

Member Avatar for hielo
0
115
Member Avatar for momo219

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

Member Avatar for momo219
0
120
Member Avatar for Dynamikz

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 …

0
63
Member Avatar for rahul_galgali

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 …

Member Avatar for sidneyharris
0
219
Member Avatar for aldm

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?

Member Avatar for nevvermind
0
169
Member Avatar for NBLWebmaster

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

Member Avatar for hielo
0
161
Member Avatar for tobeye

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 …

Member Avatar for hielo
0
92
Member Avatar for midjam

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

Member Avatar for midjam
0
203
Member Avatar for danimal132

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 …

Member Avatar for hielo
0
284
Member Avatar for ceeandcee

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 …

Member Avatar for ceeandcee
0
163

The End.