Jump to content


Photo

I Need Some Help Please


  • Please log in to reply
3 replies to this topic

#1 Madss

Madss
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 June 2006 - 04:14 PM

I have a problem.... but different, I have a script that search and for show I use this
echo "<td>".$row["NoCuenta"]."</td> \n"; ...............and I have another to download the files of me db and I use this.................. <a href="download.php?id=<?=$id;?>"><?=$name;?></a>

My question is, how can I do for the both things appear at the same time??? I really neeed help, cause I can do the both things but not at the same time....


If you don't understand... please let me know to show you my scripts..... my mail is lagart14@hotmail.com I hope you can help me...

#2 hackerkts

hackerkts
  • Members
  • PipPipPip
  • Advanced Member
  • 593 posts
  • LocationSingapore
  • Age:18

Posted 29 June 2006 - 08:19 AM

I don't really understand what you trying to say, but check again this
<?=$id;?>"><?=$name;?>

It should be
<?php $id; ?>"> <?php $name; ?>

It's actually depends on your code, if you show your script that would be easier to understand.

Regards,
hackerkts

To be a coder, you must learn how to think and not to give up so easily.


#3 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 29 June 2006 - 08:25 AM

actually, his code method is php shorthand. your method will not work. all you are doing is opening the php tags and putting a variable there. no echoing or nothing. with the php tags, you would have to do <?php echo $id; ?> but that is the same as doing <?= $id ?> it's shorthand.

but i agree, madss you need to be more specific. what do you mean, you can do one or the other, but not both at the same time?
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#4 hackerkts

hackerkts
  • Members
  • PipPipPip
  • Advanced Member
  • 593 posts
  • LocationSingapore
  • Age:18

Posted 29 June 2006 - 08:39 AM

O.O! I learn something new, argh... I had read some tutorials and none of them teach me this method.

Ops lolz.. Forget to echo :s

Regards,
hackerkts

To be a coder, you must learn how to think and not to give up so easily.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users