8,966 Posted Topics

Member Avatar for mpc123

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.)

Member Avatar for mpc123
0
131
Member Avatar for anisha.silva
Member Avatar for G_Waddell

Sounds like `MyAppUser` is the problem. Is it allowed for a login and a user to have identical names?

Member Avatar for G_Waddell
0
346
Member Avatar for sanjeewa.abeywardana

Perhaps: [Essential Windows Communication Foundation](http://www.amazon.com/dp/0321440064/)

Member Avatar for sanjeewa.abeywardana
0
160
Member Avatar for divyakrishnan

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

Member Avatar for pritaeas
0
84
Member Avatar for pmark019

This may help: [HttpWebRequest.AllowAutoRedirect Property](http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.allowautoredirect.aspx)

Member Avatar for pritaeas
0
491
Member Avatar for reemasmartin
Member Avatar for radow
0
213
Member Avatar for cali_dotcom

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.

Member Avatar for pritaeas
0
764
Member Avatar for leviathan185

Yes, it is an encoding problem and should `=&`. It's an older construct to assign a reference.

Member Avatar for leviathan185
0
98
Member Avatar for siyajoshi
Member Avatar for Shodow

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());

Member Avatar for pritaeas
0
253
Member Avatar for Dendei

See [Partial class definitions](http://msdn.microsoft.com/en-us/library/wa80x488(v=vs.80).aspx)

Member Avatar for Dendei
0
196
Member Avatar for nitin1

> 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.

Member Avatar for somjit{}
0
224
Member Avatar for eburlea
Member Avatar for OsaMasw

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.

Member Avatar for OsaMasw
0
163
Member Avatar for dannybarh

Your variable `$myid` has no value. Somewhere in your code there must be a line: $myid = 1; // or whatever it is you need

Member Avatar for pritaeas
0
492
Member Avatar for sagaragrwal197

Here is an [excellent article](http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/) on the database side of things.

Member Avatar for Taywin
0
332
Member Avatar for rajilakshmi

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.

Member Avatar for rajilakshmi
0
640
Member Avatar for ChrisHunter

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).

Member Avatar for rubberman
0
153
Member Avatar for gws75

Sounds like you'll need to replace the link from the message. Can you give an example of what you actually want?

Member Avatar for pritaeas
0
230
Member Avatar for freesoul.rahul

For item 1 read: http://www.databasejournal.com/features/oracle/article.php/3592846/Trees-and-Hierarchies-in-Oracle.htm

Member Avatar for pritaeas
0
144
Member Avatar for Eggstraordinary

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.

Member Avatar for Eggstraordinary
0
314
Member Avatar for ratanji
Member Avatar for pranay1995
Member Avatar for ssujoyroy
Member Avatar for javedsai
Member Avatar for pranay1995
0
299
Member Avatar for Tko_1

> This will easily done with jQuery True, but why include a 32Kb script just for those 12 lines?

Member Avatar for Troy III
0
210
Member Avatar for Mikesmusings

Do you see any errors? Just "not working" is kind of vague. Please describe what happens.

Member Avatar for Mikesmusings
0
381
Member Avatar for scaiferw

Remove the semi-colons, and upgrade `nchar` to something more than one char.

Member Avatar for scaiferw
0
102
Member Avatar for bettybarnes

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.

Member Avatar for bettybarnes
0
4K
Member Avatar for amar007sv
Member Avatar for pritaeas
0
286
Member Avatar for izam.lukman
Member Avatar for millsy007

Do you want to call your PHP script with an AJAX call, or do you want to do the check in Javascript?

Member Avatar for Taywin
0
376
Member Avatar for javedsai

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.

Member Avatar for pritaeas
0
361
Member Avatar for jrosh

[Here](http://www.developerfusion.com/article/141514/working-with-mobile-devices-in-html5-and-css3/)'s a nice introduction.

Member Avatar for ayat abukhadra
0
164
Member Avatar for praveen reddy
Re: php

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).

Member Avatar for pritaeas
0
109
Member Avatar for code739

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.

Member Avatar for code739
0
3K
Member Avatar for chawes40
Member Avatar for pritaeas
0
40
Member Avatar for Vijaysurya

> before submit click preview button.show for preview First explain what you actually want to show.

Member Avatar for pritaeas
0
766
Member Avatar for davy_yg

You cannot use Yahoo to send email like that, because it requires authentication.

Member Avatar for hakeemtunde
0
165
Member Avatar for vivekanandaan

`httpdocs` sounds like Apache... You'll need IIS (on Windows) to run an ASP.NET website.

Member Avatar for vivekanandaan
0
221
Member Avatar for TrustyTony
Member Avatar for slark
Member Avatar for vestervang
Member Avatar for <M/>

You want to make it smaller? This is indeed not recommended, but you should be able to use CSS to change the appearance.

Member Avatar for <M/>
0
102
Member Avatar for Swith
Member Avatar for DaveyMoyes

> 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.

Member Avatar for hakeemtunde
0
321
Member Avatar for mikelopez77

`exit` terminates the script, so the while loop just stops after the first mail.

Member Avatar for mikelopez77
0
216
Member Avatar for reemasmartin

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.

Member Avatar for reemasmartin
0
243
Member Avatar for Dendei

Similar to your previous thread: $response = $client->KundLandKodAlternativ(); $yourArray = $response->KundLandKodAlternativResult->WCFReturnString->string; $yourSecondArray = $response->KundLandKodAlternativResult->WCFString1->string;

Member Avatar for Dendei
0
263

The End.