954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP Basic

I am currently re desigining a web site and would like to make things easyer by using php.

I have the basic design done in html tables and want to change the content of cells depending on what links are clicked on, or at least i think this is the right way to go about it.

can some one point me in the right direction please and if anyone has any examples of that would be great, I have used PHP breifly but really just want to learn what i need to know to get this done.

Thanks in advance,

Dave

dafabe
Newbie Poster
1 post since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

Are you stroring content in the Database then?

or doing some sort of calculion in the "cells"?

senexom
Junior Poster in Training
54 posts since Jun 2005
Reputation Points: 11
Solved Threads: 0
 

Senexom asks a good question--what do you REALLY want to do? You could have code such as this:
[PHP]

<?php

$page_action = $_GET['a'];
switch($page_action) {
case "action1":
echo "You chose action 1.";
break;
case "action2":
echo "You chose action 2.";
break;
default:
echo "Welcome to my page.";
}

?>


Action 1
Action 2

[/PHP]

Troy
Posting Whiz
362 posts since Jun 2005
Reputation Points: 36
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You