- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 2
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
19 Posted Topics
Usually a few times a day, but sometimes a couple of times an hour, I loose connectivity, and my wireless icon displays a yellow exclamation point. I changed my wireless card from a Broadcom to a Atheros, which improved things because the old one never reconnected by itself but the … | |
Re: It might be a cross-domain security measure. Instead of using a fully qualified domain for your URL, try using a relative path. If your form is on a different server and you have to use the full domain, then look into cross domain ajax posting. | |
Re: The class "ui-datepicker-current-day" was never removed from the days which had that class before clicking the button, and beforeShowDay runs before onSelect, so it doesn't an updated range of dates. In this code, "ui-datepicker-current-day" gets removed when you click the buttons and beforeShowDay checks against $(this).datepicker('getDate') instead of startDate and … | |
Re: What are the full pathnames of these files? | |
Re: PHP has a mail command. http://php.net/manual/en/function.mail.php. If that doesn't work, - If you have control of your web server, make sure you have a mail service running. - If not, make sure your host allows mail to be sent from user applications. Without knowing more about your server and, as … | |
Re: Hi. I shouldn't speak for everyone but I think the reason this has lingered so long is people don't understand what you mean by changing the code. Do you want something to happen instantly or after some kind of form submission? If instantly, that will probably require some javascript. If … | |
Re: If you're including the http header line as part of $xml_test, then I think that's the problem. The first characters simplexml should see should be `<?xml`, so as soon as it doesn't see '<' as it's first character, it kicks out an error. | |
Hi Everyone, I need to check if a date is valid but not relative. Here's what I came up with: if ( strtotime ( $date ) && strtotime ( $date ) == strtotime ( $date, 1 ) ) { $its_all_good = true; } If that's helpful, then I'm glad I … ![]() | |
Re: I don't think it's the .htaccess file that's going to do what you want, unless you want to rewrite requests for blog.example.in to www.example.in/blog, which will show in the user's brower. I think you want to add a virtualhost in the apache config files. But you probably can't do that … | |
Re: Other than the fact that mysql is depreciated (use mysqli or pdo), it looks to me like your php code should run, so I think it's a sql or database problem. Try changing line 25 to `echo mysql_error();` instead of just `mysql_error();` and you might see an error message that … | |
I would have put it under Software Development. | |
Re: There's a couple of things wrong but mainly, there is no correlation between $_REQUEST['BX_NAME'] and the values retrieved. If you have 26 divers and the first two are named "Alpha" and "Bravo", I can submit a request for "Charlie" and "Delta" but I'll only get the data for "Alpha" and … | |
Re: Add padding-top to your section. | |
Re: Put quotes around the value and close your input tag in line 15: echo '<td>'. '<input type="text" value= "'.$row['question'] . '"/> </td>'; ![]() | |
Re: Hi. I'm not really sure what you're trying to do. Your code above says, "If true then search $equals "hello", and if true then echo $search. Either the if or the else runs, but not both. In this case, the if will run and $search will be set to "Hello", … | |
Should I put an effort into avoiding updates when the data on a submitted form is unchanged from the data already stored? Is it worth it to query the database before updating? For a specific example of what I'm talking about, say I use php to generate a form as … | |
Re: If I understand what you're asking, you need to break this up into two steps. First, have the user select the category and submit the form. Then, using $_POST['category'], present the user with options based on SELECT author, title FROM books WHERE category=" . $category . '"'. To make it … | |
Re: You might get what you want by using a LEFT JOIN instead of the first INNER JOIN. | |
I'm Ben. I was an electronics technician in the Coast Guard for over 25 years but now I'm computer science student. I'm good enough at it to help out my classmates but certainly not the best in my class (just the oldest!). |
The End.