Jump to content

nunos

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nunos's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That works just great, thanks! :D
  2. Thanks for you reply. I appreciate your response but what I was looking for is how to call this piece of html from an echo in php, that's where the problem is.
  3. Hi. I haven't been able to echo a HTML piece of code from PHP due to quotes issues. This is the html code I want to echo: <td><a onclick="reenviar_email(<?php echo "'$row->email'";?>)">asd</a> Here are my PHP attemps: <?php echo '<td><a onclick="reenviar_email(' . $row->member_id . ')">asd</a>'; //works, shows box with member_id ?> <?php echo '<td><a onclick="reenviar_email(' . $row->email . ')">asd</a>'; //doesn't work, doesn't show any box ?> Javascript function: function reenviar_email(a) { var r=confirm("Reenviar o mail de activação?"); if (r==true) { alert(a); } } I have tried almost all combinations of different quotes and still haven't managed to succeed. I would appreciate any help on this. Note: $row->member_id is a number whereas $row->email is a string. I can't see how this can affect the call to the function. Thanks
  4. I would like to know if it is possible to, trough a php mysql command, get an array with the name of the fields of a table from the database. Thanks
  5. Yes, I could record them, but I was just wondering if there was already some files out there with better quality.
  6. Sorry for posting this under "PHP Help" but I don't know where else to post it, if any moderator is reading this, please move it to where it should belong. I am working on a human verification system and I need 100 mp3 files, corresponding to the 100 first numbers, one up to a hundred. I know this could be done a lot easier if, the number 25, for example, were the "sum" of a twenty.mp3 and five.mp3, but I prefer to have a single twenty-five.mp3 Do someone ever needded something like this or know where to find it? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.