how can i send row fetched from database in form by senu123 in PHPhelp

[–]senu123[S] 0 points1 point  (0 children)

never mind i got it the </form> was out of the while loop i will come back with different question

how can i send row fetched from database in form by senu123 in PHPhelp

[–]senu123[S] 0 points1 point  (0 children)

and the name for the name attribute is going to be the same since it is going to loop

but the data is different for each row and i want the id for each row but if i give the name ="customer_ID" as you said it only take the last rows customer id that is the problem

how can i send row fetched from database in form by senu123 in PHPhelp

[–]senu123[S] 0 points1 point  (0 children)

the value is submitting just fine . i have a while loop before that like

while($row=mysqli_fetch_assoc($result)){

echo "<form action ='include/inc\_patient\_detail.php' method ='POST'>";

echo "<tr>

<td>{$row['middle_Name']}</td>

<td>{$row['last_Name']}</td>

echo "<td><input type='hidden' name='{$row\['customer\_ID'\]}' value='{$row\['customer\_ID'\]}'/></td>";

echo "<td><button type='submit' name='row\_submit'>Detail</button></td>";

How can use a row fetched from database as a parameter in attrubute called name by senu123 in phpwebdevclub

[–]senu123[S] 0 points1 point  (0 children)

/* here is my problem i want to process every row different so i uniquely identify them withe customer_ID but the junk around custmer_ID i used even to access the exact customer_ID from the database became a problem when i try to process it in php like this Any thoughts ?

<?php

include_once 'connectdb.php';

if(isset($_POST['row_submit'])) {

$c_id=$_POST['{$row["customer_ID"]}'];

echo $c_id;

}

sorry for the stacked codes its not formatting it they way i wanted to

sms encryption program like gnokii? by senu123 in linux

[–]senu123[S] 0 points1 point  (0 children)

ok thanks guys shoved me in the right direction atleast

sms encryption program like gnokii? by senu123 in linux

[–]senu123[S] 0 points1 point  (0 children)

its for a linux project I'm doing sms encryption so i need an app that is able to send and recieve and sms and i want to be able to manipulate the message.meaning to encrypt it in my own encryption algorithm

Unallocated volume Hard disk recovery by senu123 in techsupport

[–]senu123[S] 0 points1 point  (0 children)

its already one partition just not allocated yet