This works for the most part in IE. It creates new rows and deletes rows. Here are the problems:
1) the delete function doesn't delete the correct row intended.
2) Firefox does not work at all in terms of adding or deleting rows.
Here is the code thusfar:
<form name="form1" method="POST"...
I am having trouble getting my HTML from "inputtext" to create a form element which can be deleted or added via incrementing, from the javascript. Here it is:
<script type="text/javascript">
var counter = 0;
function insertdiv(){
inputtext="<table width='100%' cellpadding='0'...
This is the identical script, I realized that it had a trailing " and not ;, I changed it in this script and the error is no longer. Problem is, despite the fix, same problem exists.
Rninja
http://www.Startegy.net
+ try adding error_reporting(E_ALL) before the code to make sure you are capturing all warnings.
>> I have this enabled and get no errors on most pages and the ones that do are incorrect. For instance here is the code:
<?
error_reporting(E_ALL);
$line="This is a line";
// Open the file and...
+ try adding error_reporting(E_ALL) before the code to make sure you are capturing all warnings.
>> I have this enabled and get no errors on most pages and the ones that do are incorrect. For instance here is the code:
<?
error_reporting(E_ALL);
$line="This is a line";
// Open the file and...
As I mentioned, I can append ("a") without a hitch, permissions are set properly, I even experimented by leaving the file writable by nobody and set to 777. No go.
Any other ideas?
Rninja
http://www.Startegy.net
I am still having problems getting php to work. I removed all php program files from the linux server, then recompiled and installed php again.
I can append to a file using fwrite but cannot use the option "w" to write to a file. I am testing it using a very simple write:
<?
$line =...
Upgraded php to 5.0.3 and still not able to use fopen or fwrite. I check the php.ini and it is fine, I have permissions set properly for writes, and It was working before...
Can anyone help me ascertain the issue and how to fix it?
Thanks!
Rninja
http://www.Startegy.net
I am using php4.3.1 on a linux box and permissions are set properly for write access.
As for return values, what do you mean? I do get the echo back out to the browser, but none of the fopen, or file writing activity occurs.
Rninja
http://www.Startegy.net
I have a script that simple takes a variable and places it into a file. Problem is lately the scripts don't write to the file and instead clear the file entirely.
I try in command line on the linux box and it does write, but when launched on the web does not.
Can any one assist? Here is the...
Thank you sleipnir214,
That did address the php/curl part, but how do I get paypal to work with that system? I've looked around and so far deduced that they hand off some variables for use on websites other than theirs to be passed into their shopping cart program, but then it still requires a...
Hello everyone!
I wanted to know how to do a very simple form variable pass with PHP and curl to paypal. My purpose is to use the forms on my site and simply use paypal to verify or deny payments for items.
Anyone had luck with this? I am not looking for any pre-made package, I want to learn...
How do I make a javascript function speak with a php function so to speak?
Here is the idea:
1) I have a link that says "remove" which brings up a simple Javascript function which allows the user to choose yes or no.
2)If yes is clicked it should activate a php function which deletes records...
I am trying to create a scalable form in php. I have lets say about 30 items being retrieved from a MySQL database into a php form which can be resubmitted back to make modifications to the database entries.
What I am having trouble doing is getting those items (as many as there will be) to go...
I tried replacing the actual file name as "undefined.jpg" and it showed up, but it doesn't pick up the actual file name "jet.jpg" although it is echoed from the php script properly...
Rninja
http://www.Startegy.net
Funny thing is I keep getting undefined, now with your advice, it came out to be undefined.jpg
I am wondering what is going on with this issue, it seems a bit odd...
Rninja
http://www.Startegy.net
Thanks Bill!
You definately deserve a star. Hopefully You can assist me with the other issue... I think it is rather small but i've tried so many things and I am not getting the image to show up truly dynamically from mysql, even though it outputs correctly from php...
Thanks again!
Rninja...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.