pedrobcabral
Members-
Posts
108 -
Joined
-
Last visited
Never
Everything posted by pedrobcabral
-
Right, you just want also to put a ! before the word "isset".
-
if the checkbox is diferent from "on" it is not ticked.
-
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.
-
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.
-
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; ?>
-
session_id(), http://pt2.php.net/manual/en/function.session-id.php
-
Google for moo.fx, that's it.
-
Can I use IIS 7 with WAMP?
pedrobcabral replied to kwilder's topic in PHP Installation and Configuration
It's not exaclty what you are looking for but give it a look here: http://www.herrodius.com/blog/?p=23 -
Probably your browser's url its not pointing to your php file.
-
logs?
-
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; } ?>
-
[SOLVED] Generating 6 random digits?
pedrobcabral replied to NerdConcepts's topic in PHP Coding Help
<?php $x=1; while ($x <= 6) { $random .= rand(0,9); $x++; } echo $random; ?> -
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.
-
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.
-
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.
-
Roll your eyes one post above yours.
-
<?php echo bcmul("76474899659488565689", "245645645564564"); ?> Also have this way.
-
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?
-
This one was nice.
-
Online Community BETA test (updated)
pedrobcabral replied to shank888's topic in Beta Test Your Stuff!
How did you got there? -
If the case is you want only numbers, use is_numeric()
-
I can't figure out why this script doesn't work.
pedrobcabral replied to Alternamaton's topic in PHP Coding Help
Don't know if the POST is a must-have, once you could either use vars on URL using GET. -
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
-
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 ""; ?> />