PHP Questions & Answers Thread

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
What a Great Idea Blacky!

But one thing... I think its better people google first and try to do something about their questions first, before coming and asking questions just like that!

Then the people whom asking also has basic knowledge about what they asking and easy for others to explain as well!

Nice thread!!
 

Djpata

Member
Jun 26, 2006
9,540
23
0
guyzz thanks for your comments...if u hv any ideas,comments,complains etc there is a link in my/blacka'z siggy 4 dat and also in here u can talk,ask nything abt our lessons etc guyz plz go through the lesson thread bt dnt post nythhing there plzz will u

thanks in advance 4 everyone:D
 

MaD-DoC

Member
Oct 27, 2007
6,337
22
0
SLIIT/Malabe
machan meka WML thiyenne meka XHTML walata convert karala diyanko.


PHP:
echo "<anchor>SEND<go href=\"index.php?action=sendclpm&sid=$sid\" method=\"post\"></anchor>";
echo "<postfield name=\"clid\" value=\"$clid\"/>";
echo "<postfield name=\"pmtext\" value=\"$(pmtext)\"/>";
echo "</go></anchor><br/></p>";
 

rapa

Member
May 5, 2006
17,049
48
0
සසර ගමන තුළ
MaD-DoC said:
machan meka WML thiyenne meka XHTML walata convert karala diyanko.


PHP:
echo "<anchor>SEND<go href=\"index.php?action=sendclpm&sid=$sid\" method=\"post\"></anchor>";
echo "<postfield name=\"clid\" value=\"$clid\"/>";
echo "<postfield name=\"pmtext\" value=\"$(pmtext)\"/>";
echo "</go></anchor><br/></p>";
<form id="form1" name="form1" method="post" action="index.php?action=sendclpm&sid=<?php echo $sid; ?>">
<input type="text" name="clid" id="clid" value="<?php echo $clid; ?>" />
<input type="text" name="pmtext" id="pmtext" value="<?php echo $pmtext; ?>" />
<input name="" type="submit" value="SEND" />
</form>
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
MaD-DoC said:
machan meka WML thiyenne meka XHTML walata convert karala diyanko.


PHP:
echo "<anchor>SEND<go href=\"index.php?action=sendclpm&sid=$sid\" method=\"post\"></anchor>";
echo "<postfield name=\"clid\" value=\"$clid\"/>";
echo "<postfield name=\"pmtext\" value=\"$(pmtext)\"/>";
echo "</go></anchor><br/></p>";

Me thiyenne HTML embedded in PHP ne machang! (Umbage Question eka tikak clear madi)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<anchor>SEND<go href=\"index.php?action=sendclpm&sid=$sid\" method=\"post\"></anchor>
<postfield name=\"clid\" value=\"$clid\"/>
<postfield name=\"pmtext\" value=\"$(pmtext)\"/>
</go><br/>
</head>
 
Last edited:

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
Djpata said:
Thanks Rapa Ayya & Sri Bhai:D;):P:lol:
Thanks For The Help:)
Keep Moving Guyz:D


I think rapa's answer is more straight forward! you'll need that declaration at the start though.. to be on the safe side!

WML in XHTML will also work, would'nt make much of a difference i think!