Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-22-2005, 04:01 PM user search
Skilled Talker

Posts: 52
Trades: 0
can anyone spot my mistake in this code lol

<?php


echo "<card id="card0" title="View User Profile">;
<onevent type="onenterforward">;
<refresh>;
<setvar name="username" value=""/>;
<setvar name="id" value="<!--SESID-->"/>;
</refresh>;
</onevent>;
<do type="prev" label="Back"><prev/></do>;
<p><!--MSG--></p>;
<p>Enter username:</p>;
<p><input type="text" name="username" maxlength="12"/></p>;
<p><anchor title="Show Profile!">Show Profile!<go href="index.cgi" method="post">;
echo "<postfield name="id" value="$(id)"/>;
echo "<postfield name="a" value="r7"/>;
echo "<postfield name="m" value="m09"/>;
echo "<postfield name="username" value="$(username)"/>;
echo "</go></anchor></p>;
<p><a href="index.cgi?id=$(id)&amp;a=r7&amp;m=m7">Cancel </a></p>;
echo "</p></card></wml>";


?>
lee-buck-9-uk is offline
Reply With Quote
View Public Profile Visit lee-buck-9-uk's homepage!
 
 
Register now for full access!
Old 04-22-2005, 10:22 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
you cant have " when you've wrapped the echo in "

Escape them using \" or use the echo(' '); construct, should do it, although i may be wrong because you havn't told us the error you're getting.
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to user search
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10008 seconds with 12 queries