Jump to content

pedrobcabral

Members
  • Posts

    108
  • Joined

  • Last visited

    Never

Everything posted by pedrobcabral

  1. Right, you just want also to put a ! before the word "isset".
  2. if the checkbox is diferent from "on" it is not ticked.
  3. I've downloaded the latest pack with every checkbox included and done some experiences but teste.html it's not working. I'm giving a shot to accordion at http://p-braganca.com/mootools/ I can't figure out why it is not working, I followed the example at the demo site. Help needed, thank you.
  4. I am also having a problem. In the website there is just ONE file to download where we can customize the things we want. When I get to the demo part I don't understand why they are calling to .js in their code. I can't get my things working. The way I do: - Paste HTML in the file. - Paste CSS in the HTML file with <script... - Paste the Javacode in the HTML file - Call the prototype.lite.js to the HTML And it does not work, I dont understand why.
  5. This is crazy, but while you don't get any answer from a higher-skilled user you can stick with this code: <?php $string = "0123 BEGIN456789END 0123 BEGIN10111213END"; $search1 = strpos($string, "BEGIN"); $search2 = strpos($string, "END"); $s = $search2-$search1-5; $final = substr($string, ($search1+5),$s); echo $final."<br>"; $string = "0123 BEGIN456789END 0123 BEGIN10111213END"; $search1 = strrpos($string, "BEGIN"); $search2 = strrpos($string, "END"); $s = $search2-$search1-5; $final = substr($string, ($search1+5),$s); echo $final; ?>
  6. session_id(), http://pt2.php.net/manual/en/function.session-id.php
  7. It's not exaclty what you are looking for but give it a look here: http://www.herrodius.com/blog/?p=23
  8. Probably your browser's url its not pointing to your php file.
  9. You have to check for the number by using either mysql_num_rows or mysql_affected_rows, depending on the action you are doing. Something like: <?php $query = mysql_query("SELECT something FROM table"); if (mysql_num_rows($query) < 3000) { something; } else { something; } ?>
  10. <?php $x=1; while ($x <= 6) { $random .= rand(0,9); $x++; } echo $random; ?>
  11. I am not directly anwsering your question because I don't know that library. Anyway a word about require, that will be trouble because as it is stated at php.net website . include is diferent from require.
  12. http://www.superbock.pt/newsletters/2007/20_07/nl_sb_julho.asp?name=ToonMariner@something.something Check that out please. Those guys have that page that is embeded onto the email. It does always displays OK. Even if not, do you know how to embed it? Thank you.
  13. I've done a .html page with the content in a div aligned at the center of the page. How can I manage to insert it into an e-mail, so when people open it they can see the page? I got e-mails like this from a local beer company. Hope this is the right section.
  14. Roll your eyes one post above yours.
  15. <?php echo bcmul("76474899659488565689", "245645645564564"); ?> Also have this way.
  16. What do you mean by unsecure? If it is without password, if you can't put files into the server of 'someone' is it still not safe?
  17. If the case is you want only numbers, use is_numeric()
  18. Don't know if the POST is a must-have, once you could either use vars on URL using GET.
  19. And it is not a lower case L. Try to shift, alt and shift+alt all your keyboard. I also thought that I did not had { } and for somedays I used to Copy/Paste it. Now it is a lot more practicle
  20. To empty the form is different from not showing the form as you suggested on your first post . In that case imagine you have a textfield: <input name="textfield" type="text" id="textfield" value="hello" /> You might want to add something like: <input name="textfield" type="text" id="textfield" value="<?php if ($_POST['something']) echo ""; ?> />
×
×
  • 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.