"it's not working" is very useless information. If it were working, you wouldn't be trying to fix it.
What is going on? which part are you having a problem with? what do you expect to happen?...
Type: Posts; User: traq; Keyword(s):
"it's not working" is very useless information. If it were working, you wouldn't be trying to fix it.
What is going on? which part are you having a problem with? what do you expect to happen?...
yeah... "hot chocolate" doesn't sound encouraging. Have you ever done dis-assembly before? If you feel up to it, I'd say take apart what you can and settle in for a long cleaning session. Go very...
a useful PHP snippet. enjoy :)
Given a list of index keys (a path) and a subject array, checks if the path exists in the array and returns the end value if so.
Limitation: cannot distinguish...
It's a custom menu, using jQuery. Seems to start around line 2632 of /js/jquery.main.js.
You might look at the DD Mega Menu as an alternative.
This is a javascript issue. I've moved it to the JavaScript forum.
The menu you're using appears to be from javascriptkit.com - have you looked at the instructions or asked for help there?
...
typo in my code. This is the correct version:
$.ajax({
type: 'POST',
url: $('#login').attr('action'),
data: $('#login').serialize(),
dataType: 'json',
...
with your ajax call, you're trying to treat the return value as html. If you specify that you're expecting json, you can use it like json:
$.ajax({
type: 'POST',
url: ...
before jQuery 1.9, $.parseJSON returns null if the JSON string is malformed (after 1.9, it throws an error).
Can you show the complete code you are using? and is the actual string you're using the...
In some cases, the user's IP address will be sufficient to achieve your goals; in others, it will not. I asked you about this to help give a useful answer to your question.
...was the only...
Yes; works just fine. No errors, warnings, nothing.
Also, this should work everywhere (although I never mess around with PHP 4 anymore). Sometime - early in PHP 5, *I think* - something called...
hehe :)
Well, the main thing I "dislike" about it is how badly it's misused much of the time.
In general, when you finish writing a script, it should not produce any PHP errors (there might be...
Yes.
Originally, I did think that, but then you explained that you simply want to handle the error yourself, in a different way than PHP does. That's a perfectly appropriate reason to...
It will depend on what details you want to track, but generally, no - since many people have dynamic IP addresses, there's no way to be sure their IP (or their ISP's IP) will be the same from one...
I made an oversight. function sqli_connect( $username,$password,$link=null ){ ... should be function sqli_connect( $username,$password,&$link=null ){ .... I'm very sorry for the confusion. That &...
Mod's note:
this type of generic, open-ended question does not usually generate good discussions, either because the question is too broad, there is no clear answer, or the answers are too...
1. Is there a reason you're returning true/false as strings? :)
2. What is the php error you're getting?
ugh, please don't do that.
There are some valid uses for the error...
Does it work if you remove the leading ./ from the URL?
Using the sun to determine time of day! Literally absurd!
In other news, "literally" now also means "figuratively."
UTC is a successor to GMT, used primarily in the scientific community and the military. UTC does not observe any "summer" or "daylight savings" time. It also has leap-seconds.
Switching from mysql to mysqli needs to be done "all at once." The two extensions have many similar functions, in an attempt to make the transition as easy as possible. You should, however, read up...
The filtering seems to be happening server-side - clicking a price category triggers a new page request.
Beyond that, who knows? You'll need to provide more information about your problem if you...
Very true. Many ISP's don't allow self-hosting on "home/residential" service plans.
You can use an online service like afraid or noip for free (noip is free for personal use only), dynamic DNS...
There was a couple two years ago live-streaming from a camera in their owl box. It was pretty cool.
I say, put it in the lounge! Your ,mod badge is safe with me
Can you show us your DB schema?