Jump to content

Check out our Community Blogs


Member Since 15 Jun 2012
Offline Last Active Nov 07 2012 08:01 AM

Topics I've Started

Using HTML and PHP creating a drop down menu

07 August 2012 - 07:12 AM

Since coming here to the site I've learned a lot about html, well a lot more than I did a month ago. But to my issue I was wondering if it was possible to create a drop down menu in html and in php simply display a table based on what's highlighted? If I'm not mistaken, I can't because php is server side and it must first have the information sent to it for processing before it can do anything. I hear javascript solves my problem just fine except there are two issues. One being my old professor, person who asked me to make the web page, only wants me to use php and html. Javascript is supposed to have a lot of security holes in it according to him and me never having used the language can't raise a proper argument. And two, like i said earlier, I have never used javascript. I would like to create the table dynamically based on the selected drop items but using only php and html it proves to be very complicated.

Creating Dynamic Tables In Html Using Php

13 July 2012 - 01:23 PM

This is page.html
<table border ="1">
include 'Display.class.php';

$obj = new Display();
$obj -> display(3,3);

this is Display.class.php
class Display
  public function display($rows, $cols)
   for($c = 0; $c < $cols; $c++)
    echo '<td>';
    for($r = 0; $r < $rows; $r++)
	 echo '<tr> blank </tr>';
    } //ends rows loop
    echo '</td>';
   } //ends columns loop
  } //ends function display
} //ends class Display

When I run the html file in chrome from the /var/www/html folder and from a regular folder off the server the html code printed in php isn't converted to html. Am I missing something?

Help With Layout In Html

27 June 2012 - 07:24 PM

Hi guys, working on a web page for my school and I need some help with the formatting of the page. Essentially this is what needs to be done, I have 3 boxes

box1 box2 box3

inside those boxes contain information related to course information. The part of inputting the content will not be a problem however the layout is for me. I borrowed from the borderlayout in java where I can have a left, center, & right component and I can just edit from there. Is there a way I can make this happen or do I have to make a table to get it done?

Help Learning Operating Systems From Abstract To Concrete Concepts.

18 June 2012 - 08:50 PM

Hi guys, need some advice on learning about operating system in the sense of how one works starting from the big picture of how everything fits and ending with the small pictures such as how the individual components of an operating system gets its job done. I have the book from when I took the class but I don't really like the direction it takes which is starting from the bottom and going up. So any tips guys?

Hello All!

15 June 2012 - 11:40 PM

Hi guys, heard about this site being great for coders and other assorted computer related topics so I decided to join up.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download