Copying the iconv.dll and php_iconv.dll to the windows/system32 folder seems to have fixed it.
Thanks anyway.
User Profile
Collapse
-
This error message appears in the system log, however I am certain the file is there...
Application popup: Warning : Unknown(): Unable to load dynamic library 'E:\PHP\extensi ons\php_iconv.d ll' - The specified module could not be found.Leave a comment:
-
Yes iconv.dll is in the dll folder and php_iconv.dll is in the extensions folder...Leave a comment:
-
Iconv not working on php4.3.3
Hey everyone,
Sorry for a question on an outdated PHP, but I am trying to get iconv working on php4.3.3. When I enable it in php.ini by removing the ; from the ;extension=php_ iconv.dll
line, php pages simply refuse to load.
Can anyone point me in the right direction as to how to successfully enable iconv?
Cheers,
Jimmy -
I actually am now thinking it could have something to do with using two forms... If that's the case sorry!Leave a comment:
-
Uploading file, works in firefox but not IE
Hey everyone,
I've just written some basic code to upload a pdf file from a browser to a server. It works fine when I use Firefox, however when I use IE after clicking the upload button it returns to the index page which I just can't figure out.
If anyone has any idea how to fix this could they let me know, thanks!
(it is added to another page which includes mysql_connect() and all that, it is not a mysql problem but... -
-
Getting value from Drop down menu
Hi,
I have used a loop so there are a number of quantity drop down menu's designed for a shopping cart style website, with $i being the loop counter and qty being the name of the drop down menu so I have used (ignore the onChange function)
...Code:<select id='qty{$i}' onChange='findTotal($price,$i)'> <option value='0'>0</option> <option value='1'>1</option> <option value='2'>2</option> -
Finally got it working, thanks to everyone who helped.
My last problem was passing total{$i} and qty{$i} through to the function, guess the javascript didnt like it...
For anyone who wants to know how I got it to work here is my working:
Javascript:
...Code:<script type='text/javascript'> function findTotal(price,i) { var qtd = document.getElementById('qty'+i).value; var resultLeave a comment:
-
Finally got it working, thanks to everyone who helped.
My last problem was passing total{$i} and qty{$i} through to the function, guess the javascript didnt like it...
For anyone who wants to know how I got it to work here is my working:
Javascript:
...Code:<script type='text/javascript'> function findTotal(price,i) { var qtd = document.getElementById('qty'+i).value; var resultLeave a comment:
-
I added a javascript alert in my function to see if I could debug, and when I change the menu I don't get the alert, which means the function isn't being called properly... Does anyone understand why???
Function:
...Code:<script type='text/javascript'> function totalise(price,total,qty) { alert(\"HELLOOOOO\"); var qtd = document.getElementById(qty).value; var result = document.getElementById(total);Leave a comment:
-
I've changed my function to
with the menu like thisCode:function totalise(price,total,qty) { var qtd = document.getElementById(qty).value; var result = document.getElementById(total); result.value = price * qtd; }
I'm not getting any javascript errors, but nothing happens when I change the quantity...Code:<select id='qty{$i}' onChange=totalise($price,total{$i},qty{$i})>Leave a comment:
-
I've figured out how to loop the id names I did it like this (where $i is the loop number), and looking at the source code when I view the page it is working fine
...Code:<select id='qty{$i}' onChange=totalise($price,total{$i},qty{$i})> <option value='0'>0</option> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option>Leave a comment:
-
I've figured out how to loop the id names I did it like this (where $i is the loop number), and looking at the source code when I view the page it is working fine
...Code:<select id='qty{$i}' onChange=totalise($price,total{$i},qty{$i})> <option value='0'>0</option> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option>Leave a comment:
-
Ummm, no not really because my problem is that I want to implement this code into a loop, and I'm not sure how to...
Thanks anywayLeave a comment:
-
okay I get that, but how do i concatenate the loop number to the name of the total field?
this is my loop
...Code:for($i=0;$i<$num_rows;$i++){ $name = mysql_result($query,$i,2); $price = mysql_result($query,$i,3); $desc = mysql_result($query,$i,5); $photo = mysql_result($query,$i,4); echo(" <tr> <td rowspan='3' valign='middle' align='center'><p><aLeave a comment:
-
-
Using total{i} takes the number of the loop and adds it to the total name
so when it runs it would be read as
total0
total1
total2
... which is what i should be using right?Leave a comment:
-
Javascript onChange calculate total quantity*price help!
Hi everyone.
I'm trying to create a shopping cart (with PHP) and it's all going pretty good. Except I'm trying to make a quantity drop down menu which when you change the quantity the total field is updated... I had it working for one, but when I tried to implement it into a for loop (so that when there are more than one item on the page they work separately) nothing...Leave a comment:
-
Java calculation on changeMe used in a for loop
Hi everyone.
I'm trying to create a shopping cart (with PHP) and it's all going pretty good. Except I'm trying to make a quantity drop down menu which when you change the quantity the total field is updated... I had it working for one, but when I tried to implement it into a for loop (so that when there are more than one item on the page they work separately) nothing happens.
Here is my javascript
...Code:<script
No activity results to display
Show More
Leave a comment: