MrSoundless
-
Referencing values of an array inside of an array
An array starts counting by 0. So by using 3 in the first reference, you refer to the 4th element in the first array. Now since the 4th element in the array is an array you can add a second reference, since food is the 3th element in that array, you…
-
Referencing values of an array inside of an array
I don't get your whole story but to answer your last question: echo $array1[3][2]; If that doesn't help, try to explain what you are trying to do. Good luck
-
[Solved] What would you consider "Mid-Level PHP Programming Skills"?
I don't agree with hardik. I don't think that learning a library is part of having skills. I guess it's more about what kind of code you write and, like Argeaux said, how safe it is.
-
Error in mysqli code.
Make sure there is a connection before you call 'query'. It looks like you're calling logInUser while _dbConnection has no value yet.
-
using exceptions
If an Exception is thrown, nothing will run until the catch is reached. The code will continue running starting from the catch.
-
Problem with website layout idea.
that messes up my background 'shadow'. Edit: I decided to add an ie specific stylesheet. And I'm using the following to select the right stylesheet: Thanks again for all the help.
-
Problem with website layout idea.
The problem just changed. It now doesn't seems to work in IE. I mean not at all! I kinda changed the code. It now looks like this: HTML:http://pastebin.com/i1Yqv3pC CSS: http://pastebin.com/deUzZVYR the only visible thing in IE is a black bac…
-
Problem with website layout idea.
I got it centered now! I got this now: Col 1 is outside of the wrapper. Col 2 and 3 are inside the wrapper. div#col1 { position: absolute; left: 100px; background: #FF0; min-width: 400px; max-width: 400px;…
-
Problem with website layout idea.
Does that mean I won't be able to center my website because I'm using absolute positioning? because I really would like to have my website centered
-
SubDomain LogIns
for cross-subdomain sessions running on the same host, try ini_set('session.cookie_domain', '.website.com');
-
Favorite text editor
I used Komodo Edit till a couple of days ago. After I installed my SSD I thought I should try a new editor. I'm on JetBrains PhpStorm now and I have to say I already like it more then Komodo Edit! Just to give one thing which is better then Kom…
-
Warning Fields!!!
Just a note: Do not trust the client. Doing a client-side validation is great to reduce server load, but don't rely on it. Always add server-side validation aside of the client-side validation.
-
Regex find replace?
preg_replace('/(.*?)/i', '', $source);
-
why unlink not working ?
I have to say that code is incredibly weird (to me at least). - Your unlink function doesn't look like a function. And if it was a function you should be calling it. Else it would be useless to create a function. - In your while loop you have …
-
php pagination not sure how ! newbi
You could try doing it with javascript instead. You would load all data but you would just show the ones you want with javascript.