Another php issue-SOLVED
KEEP IN MIND I HAVE TAKEN OUT THE INSTANCES OF . AND H,T,T,P,:,//
BECAUSE I CANT POST LINKS YET...
$oh = "id='$i'";
$on = "name='$i'";
$toosl = "<a href='mynewcityDOTcom/distribute/osticket_1.6.0/upload/scp/ticketsDOTphp?id=$ticketID'>'$ticketID'</a>";
$off = "'$toosl'";
$selstatus = "<form method='post' '$oh' '$on' action='mynewcityDOTcom/getleadsDOTphp'><tr><td><input type='text' name='ticketID' value='$off'></td><td><input type='text' value='$created'></td><td><select name='status'><option value='Renter Keep'>Renter Keep<option value='Renter Reject'>Renter Reject<option value='SPAM'>SPAM<option value='Sold Buyer'>Sold Buyer<option value='Sold Seller'>Sold Seller<option value='Not Moving'>Not Moving<option value='Listed Home'>Listed Home</select></td><td><input type='text' value='$subject' size='75'></td><td><input type='text' value='$lo_franchise'></td><td><input type='text' value='$lo_email'></td><td><input type='text' value='$lo_name'></td><td><input type='text' value='$lead_email'></td><td><input type='text' value='$lead_name'></td><td><input type='submit' name='doit' value='submit'></form></td></tr>";
When I view source that table row echos out like this in the source:
<form method='post' 'id='0'' 'name='0'' action='mynewcityDOTcom/getleadsDOTphp'><tr><td><input type='text' name='ticketID' value=''<a href='mynewcityDOTcom/distribute/osticket_1.6.0/upload/scp/ticketsDOTphp?id='>''</a>''></td><td><input type='text' value=''></td><td><select name='status'><option value='Renter Keep'>Renter Keep<option value='Renter Reject'>Renter Reject<option value='SPAM'>SPAM<option value='Sold Buyer'>Sold Buyer<option value='Sold Seller'>Sold Seller<option value='Not Moving'>Not Moving<option value='Listed Home'>Listed Home</select></td><td><input type='text' value='' size='75'></td><td><input type='text' value=''></td><td><input type='text' value=''></td><td><input type='text' value=''></td><td><input type='text' value=''></td><td><input type='text' value=''></td><td><input type='submit' name='doit' value='submit'></form></td></tr>
on the input with the name ticketID the href is supposed to give the ticketID as the id in the url it points to. then in the actual table the user sees it needs to show the ticketID as a clickable link.. Make sense?
-
KirkMcD -
[ 1 ] Thanks
{{ DiscussionBoard.errors[5890781].message }} -
-
PHPSpaZ -
Thanks - 1 reply
{{ DiscussionBoard.errors[5890859].message }}-
KirkMcD -
[ 1 ] Thanks
{{ DiscussionBoard.errors[5894456].message }} -
-
-
Tradeout -
Thanks - 1 reply
{{ DiscussionBoard.errors[5892494].message }}-
PHPSpaZ -
Thanks
{{ DiscussionBoard.errors[5893982].message }} -
-
-
PHPSpaZ -
Thanks
{{ DiscussionBoard.errors[5895799].message }} -
-
Earnie Boyd -
[ 1 ] Thanks - 1 reply
SignatureEarnie Boyd{{ DiscussionBoard.errors[5896071].message }}-
PHPSpaZ -
Thanks
{{ DiscussionBoard.errors[5896796].message }} -
-
-
Stuart Macfarlane -
[ 1 ] Thanks
{{ DiscussionBoard.errors[5897861].message }} -
-
jawanda -
[ 1 ] Thanks
{{ DiscussionBoard.errors[5898060].message }} -
-
jawanda -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[5898075].message }}-
PHPSpaZ -
Thanks
{{ DiscussionBoard.errors[5900130].message }} -
-
-
Earnie Boyd -
[ 1 ] Thanks - 1 reply
SignatureEarnie Boyd{{ DiscussionBoard.errors[5905979].message }}-
PHPSpaZ -
Thanks
{{ DiscussionBoard.errors[5906340].message }} -
-