A
amit
Hello group,
How can I assign a link with its related elements (as following) to an
array element?
Assume having a table with several rows and 3 columns.
The first column holding some text information (which will be read
from a database) but
the 2nd column holding a link (as its previous rows - now I'm adding a
new row).
Since I'm adding records or rows to this table I need to provide the
link in the 2nd column and the worst thing thing, this is my first PHP
project!
Any advice?
<span id=\"button_<?=$item?>_edit\"><a href=\"javascript:edit('<?=
This is what I have done but doesn't work:
myArray[1] = myArray[1] + "<span id=\"button_<?=$item?>_edit \">";
myArray[1] = myArray[1] + "<a href=\"javascript:edit('<?=$item?>', 1,
'<?=$max?>');";
myArray[1] = myArray[1] +
Regards,
Amit
How can I assign a link with its related elements (as following) to an
array element?
Assume having a table with several rows and 3 columns.
The first column holding some text information (which will be read
from a database) but
the 2nd column holding a link (as its previous rows - now I'm adding a
new row).
Since I'm adding records or rows to this table I need to provide the
link in the 2nd column and the worst thing thing, this is my first PHP
project!
Any advice?
<span id=\"button_<?=$item?>_edit\"><a href=\"javascript:edit('<?=
$item?>' said:Edit</a> </span>;
This is what I have done but doesn't work:
myArray[1] = myArray[1] + "<span id=\"button_<?=$item?>_edit \">";
myArray[1] = myArray[1] + "<a href=\"javascript:edit('<?=$item?>', 1,
'<?=$max?>');";
myArray[1] = myArray[1] +
javascript:myFunc(document.getElementById('iptext_ said:Edit</a> </span>";
Regards,
Amit