premiso
Members-
Posts
6,951 -
Joined
-
Last visited
-
Days Won
2
Everything posted by premiso
-
By using list if the array always has 1 value pair. If not you would need to use a foreach loop: list($key, $value) = $var['bcc']; Foreach: foreach ($var['bcc'] as $key => $value) { echo $key . " " . $value . " " ; } $key would hold 898 and $value would hold tester. And just for the record, this has nothing to do with regex
-
That is just a serizlied array. Use unserialize and then you can access it like a normal array.
-
I am in full support of this initiative. Signed the petition and if I can find a donation link, you better believe that I will donate to it.
-
+ in js is also the concatenation, so you need to use parseInt on each item. Example: var a = parseInt(document.getElementById('Para_A_A1_score').value) ; Do that for each value and it should add them up.
-
If all else fails and you have not done it yet an apache (or web server) restart may kick it in.
-
Look at the onBlur html attribute. This should do what you want. <input type="text" name="Para_A_A6_score" onblur="javascript:calculate_a(); return false;" />
-
You need to also change the upload_max_filesize and post_max_size size in the php.ini as well.
-
You forgot about the Dancing Jesus.
-
Yep. It looks better with the black...at least I don't break out into seizures anymore
-
I think I just had a seizure.
-
what is the difference between a Web Portal and website?
premiso replied to rlecastro07's topic in Miscellaneous
Literally. -
Check out this tutorial: http://www.phpfreaks.com/tutorial/simple-sql-search See if that helps ya.
-
Full of fail. I vote to revoke the badge.
-
Where are you calling mail at?
-
LOL at you not listening/reading correctly. You tell him girl! Teach that Maq who is boss. mmmhmmm because we all know there is nothing on the in between side of things mmhmmm. Thats how us whiteboi girls rolls you know what I am sayin to ya? mmmhmmm. Cause we always know how to read and listen mmhmmm so just tell him to talk to the hand as our faces ain't listenin (snaps fingers in a circular direction). mmhmmmmm
-
searls03, the md5 alone is easy to crack with a rainbow table. That aside, as Pikachu2000 said. If your tables are being dropped that means somewhere in the script someone is doing a SQL inject. If you take a look at your APACHE Logs (if on linux /var/log/apache2/access.log) you can see what GET data people are sending which may lead you to the problem script that someone is SQL Injecting. Looking at the code you posted, the problem does not lay within that code. So check your logs and stop getting hung up on other random shit acting like you are the victim. We can only help someone to a point where they actually listen to the help being given.
-
Can someone show me how to properly write this short if statement?
premiso replied to KDM's topic in PHP Coding Help
Since maq is my lover and everything I've ever wanted, just lazy: if ($car_class == FALSE) { //echo here } -
Well try echoing out some variables, see if stuff is being populated. Other debugging techniques also work, such as a var_dump etc.
-
Why are you suppressing errors? @$html->loadHtmlFile('http://www.freelancer.com/sellers/'); Remove that @ sign and see what error it is throwing. If freelancer.com does not have valid HTML, the DOM will not work with it.
-
Really if you want to dive into the command line, Linux / Unix is the way to go. Windows has support, but I find their Command Prompt very limiting (especially the size of it) etc. You can do cygwin with MinTTY for a better console. As far as OpenSSH vs PuTTY, on Windows I would do the cygwin with MinTTY and OpenSSH. I really just cannot stand PuTTY or KiTTY, just annoy me how they handle sessions. Linux, well OpenSSH all the way as most systems come with OpenSSH pre-installed. My 2cents. If you are looking for a Linux Distro, I would suggest a Debian based distro (like CrunchBang).
-
Perhaps you should read it closer, it solves your problem: http://www.phpfreaks.com/forums/index.php?topic=339810.msg1601940#msg1601940 Notice how there are no more single quotes around the [Line] inside of the input box. Or if you want to leave your code the same: echo $Saves["'Line'"];
-
$variableName = $_GET['ID']; This should correspond with the name of your "users" select. $variableName = $_GET['users']; Since you named it 'users' you use users. If you want it to be ID, change the select box name to be ID.
-
If you are not going to read through the posts that solve your problem, why bother asking the question?
-
dfalkowitz, post your form HTML code. As we cannot be of further assistance without seeing how that is setup.
-
Your problem lays within the single quotes: <input id=:"Line" name="Saves['Line']" type="text"> Should be: <input id="Line" name="Saves[Line]" type="text"> Same goes for the IP, remove the single quotes around IP Address in the html input tag, and your code will work.