I've made a javascript script for adding/removing elements. Those elements are text fields inside a form. Is there some PHP script for counting how many they are? I tried the following script but if an element has been deleted it stops there. Thank you
<?
$i = 1;
if ($_POST[$i] == true)
{
while...
I want to make a table with four columns, the table in the database has two collumns "text" and "id". What I want is to take the data of the two collumns and place them to the <table>... Any Suggestions?
I have a folder images/ i've created a php script that uploads the image and now i want to delete it. I have in the form that deletes the image a <input type="text" name="img_del" value='".$row[image]."'> that takes a value of the image's path to be deleted. I've tried the unlink function but...
I have this assignment. I'm supposed to make two text fields where i will write two numbers and add them in another page
<html>
<head>
<title>Test</title>
</head>
<body>
<form method="post" action="page2.php">
<input type="text" name="num1">
<br><input type="text" name="num2">
<input...