Solved

Php newbie

Posted on 2004-09-24
3
210 Views
Last Modified: 2012-05-05
May i know where can i get the tutorial or guide to start my first php program?
In jsp i can write:
String col0 = request.getParameter("col0");
<a href="<%=col0 %>">Download</a>

But how to convert it to php?

thanks
0
Comment
Question by:guecl
  • 2
3 Comments
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 30 total points
ID: 12141714
Hi guecl,

http://www.php.net/tut.php

Sunnycoder
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 12141722
0
 
LVL 27

Accepted Solution

by:
Diablo84 earned 45 total points
ID: 12142049
Not great at ASP but im presuming the following is a reference to a form input

request.getParameter("col0");

so you would want

$var = $_POST['col0'];
echo '<a href="'.$var.'">download</a>';


Very good beginners site: http://www.w3schools.com/php/default.asp

Most basic php script to output "hello world":

<?php
echo "hello world";
?>
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now