8,966 Posted Topics
Re: After line 12 you need to `$row = mysql_fetch_array($result);` If `$row` is false then no record is found, else you can use `$row['Link']`. Note that you cannot output anything if you want to use `header`. (Remove line 17.) | |
Re: Sounds like `MyAppUser` is the problem. Is it allowed for a login and a user to have identical names? | |
![]() | Re: Perhaps: [Essential Windows Communication Foundation](http://www.amazon.com/dp/0321440064/) ![]() |
Re: The regex you show is used to validate a date. How complex do you want the email validation? It gets ugly real quick. Here's one of the simpler ones: /^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}$/i | |
Re: This may help: [HttpWebRequest.AllowAutoRedirect Property](http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.allowautoredirect.aspx) | |
Re: Add a datetime column to your table, and set it's default value to `NOW()`. | |
Re: Agree with diafol, do not do this. It wouldn't matter anyway, because you can still refresh by clicking the browser button. If you do so anyway, don't forgot to disable `CTRL+F5` and `CTRL+R` too. | |
Re: Yes, it is an encoding problem and should `=&`. It's an older construct to assign a reference. | |
Re: diafol is right, something is wrong, otherwise you would not get this error. Do this to find out: $query = mysql_query(...) or die(mysql_error()); | |
Re: See [Partial class definitions](http://msdn.microsoft.com/en-us/library/wa80x488(v=vs.80).aspx) | |
Re: > time limit exceeded when input is 1234567890,1 Dividing by 1 is not very smart indeed. Add a check, if the divisor equals 1, return the dividend. No need to do 1234567890 loops. | |
Re: You can set the onmouseover for the `tr` tag instead. | |
Re: 1) Add a column in the player table to store the rank. Then devise a way to determine how to calculate it using a query, so you can update them all at once. 2) This requires a second column to store the previous rank, just before calculating the new rank. | |
Re: Your variable `$myid` has no value. Somewhere in your code there must be a line: $myid = 1; // or whatever it is you need | |
Re: Here is an [excellent article](http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/) on the database side of things. | |
Re: If your pages are stored in the database, then you can generate your sitemap easily from a query. It depends on how your website is built. | |
Re: I've used a different brand for a while (not sure which). I was very content with them (speed and connection stability was better than wifi), until they started to heat up too much and shut down too regularly (no connection). | |
Re: Sounds like you'll need to replace the link from the message. Can you give an example of what you actually want? | |
Re: For item 1 read: http://www.databasejournal.com/features/oracle/article.php/3592846/Trees-and-Hierarchies-in-Oracle.htm | |
Re: If you only want to adjust the name, I suggest: echo 'you are logged in as: <span id="username">' . $_SESSION['username'] . '</span>'; then you can style using `span#username`. There are many more options of course. | |
Re: Help you with what part? What do you have already? | |
Re: Check your settings, you should have a default page specified. | |
Re: > This will easily done with jQuery True, but why include a 32Kb script just for those 12 lines? | |
Re: Do you see any errors? Just "not working" is kind of vague. Please describe what happens. | |
Re: Remove the semi-colons, and upgrade `nchar` to something more than one char. | |
Re: That means that this line: $ballpark = $this->ballparkDetailsHandler->getBallparkDetailsByProjectId($projectId); returns `null` to `$ballpark`, then on the next line it is not possible to call the function because there's no valid object. | |
Re: Is it just related to gcc? What if you execute `dir > dirlist.txt` | |
Re: Do you want to call your PHP script with an AJAX call, or do you want to do the check in Javascript? | |
Re: The `mail` function does not support authentication. You'd need to use a tool to do this. Choices can be for example: PHPMailer, SwiftMailer or PEAR::Mail. | |
Re: [Here](http://www.developerfusion.com/article/141514/working-with-mobile-devices-in-html5-and-css3/)'s a nice introduction. | |
Re: You can [include](http://php.net/manual/en/function.include.php) another script. If the script is on another server you can use [cUrl](http://php.net/manual/en/function.curl-exec.php). | |
Re: I think `data.value = null;` should work, but it is quite possible that the file input is read-only. If so, the only option remaining is to remove the element entirely, and insert a new one into the DOM. | |
Re: Can't you export/import your settings through a file (csv/sql)? | |
Re: > before submit click preview button.show for preview First explain what you actually want to show. | |
Re: You cannot use Yahoo to send email like that, because it requires authentication. | |
Re: `httpdocs` sounds like Apache... You'll need IIS (on Windows) to run an ASP.NET website. | |
Re: You want to make it smaller? This is indeed not recommended, but you should be able to use CSS to change the appearance. | |
Re: > anything that would cause the headers to be send Note that this can be caused by a BOM marker generated by your text editor if the file is in UTF/Unicode. | |
Re: `exit` terminates the script, so the while loop just stops after the first mail. | |
Re: A `$_POST` variable may not have a value, so you should do the following: $name = isset($_POST['name']) ? mysql_real_escape_string($_POST['name']) : ''; or move the assignments within the `if`. Add on: Your query is incorrect, check that you have the syntax right. | |
Re: Similar to your previous thread: $response = $client->KundLandKodAlternativ(); $yourArray = $response->KundLandKodAlternativResult->WCFReturnString->string; $yourSecondArray = $response->KundLandKodAlternativResult->WCFString1->string; |
The End.