?
Solved

Php newbie

Posted on 2004-09-24
3
Medium Priority
?
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 120 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 180 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

741 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