5 Topics
|
|
Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. … |
|
Hello All, I have fetched array from database, it is two dimentinal array. and want to print it into html table. But when print it's need attribute while printing it. here is code: <tr> <th>Sr.No.</th> <th>Skill type</th> <th>Skill Name</th> <th>Project</th> <th>Practice</th> <th>Description </th> </tr> <? $skills_1=[HERE I HAVE FETCHED ARRAY … |
|
I have this assignment due this weekend and I was able to figure it out but for some reason the last part of my output is going up to 38 and I have no clue to way it would be doing that any thoughts to way. my output: output: PRINTING … |
|
|
i dont know why but somehow my files are being upload to the server folder but not stored within db <?php include_once("conninfo2.php"); error_reporting(E_ALL); $usid = 1; if(isset($_FILES['files'])){ $query = "INSERT into files(`filename`,`fsize`,`ftype`,`uploadtimest`, `usid`) VALUES(:filename,:fsize,:ftype,now(), :usid)"; $stmt = $db->prepare($query); $errors= array(); foreach($_FILES['files']['tmp_name'] as $key => $error ){ if ($error != UPLOAD_ERR_OK) … |
Ok, so you know how, if we want to output the elements of an array to the screen, we have to make a for loop right? So I have the following code... [CODE] char array[] = new char [10]; array[0] = '1'; array[1] = '2'; . . . . array[9] … |
The End.