Posts
 
Reputation
Joined
Last Seen
Ranked #874
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
35
Posts with Upvotes
29
Upvoting Members
12
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
20 Commented Posts
~98.2K People Reached
About Me

Student

Interests
Programming
Favorite Tags

99 Posted Topics

Member Avatar for fernandodonster

[quote=Puckdropper;258247]It depends on what you want to do. You can pass the request to the system (only works for specific systems) or you can perhaps find a library that will allow you to do it. AFAIK, only text files can be opened without special manipulation in most programming languages. (Database …

Member Avatar for Michael_44
0
8K
Member Avatar for Hani1991

In fact, it has nothing to do with cookies. All you have to do is remove your username and password associated, by the browser, with Facebook. If you're using Firefox, you can go to [U]T[/U]ools menu -> [U]O[/U]ptions -> Security (tab) -> Saved [U]P[/U]asswords (which is under "Passwords"), then search …

Member Avatar for arjani10
0
219
Member Avatar for debasisdas
Member Avatar for shahbaz13

Try the changing the line #2 through 19 into the following: [CODE] $name = mysql_real_escape_string($_POST['name']); $description = mysql_real_escape_string($_POST['description']); $field1= mysql_real_escape_string($_POST['field1']); $field2= mysql_real_escape_string($_POST['field2']); $field3= mysql_real_escape_string($_POST['field3']); $field4= mysql_real_escape_string($_POST['field4']); $field5= mysql_real_escape_string($_POST['field5']); $field6= mysql_real_escape_string($_POST['field6']); $field7= mysql_real_escape_string($_POST['field7']); $field1a= mysql_real_escape_string($_POST['field1a']); $field2a= mysql_real_escape_string($_POST['field2a']); $field3a= mysql_real_escape_string($_POST['field3a']); $field4a= mysql_real_escape_string($_POST['field4a']); $field5a= mysql_real_escape_string($_POST['field5a']); $field6a= mysql_real_escape_string($_POST['field6a']); $field7a= mysql_real_escape_string($_POST['field7a']); $details = mysql_real_escape_string($_POST['details']); $year …

Member Avatar for VIJAY_13
0
5K
Member Avatar for Doctor Inferno
Member Avatar for abhi10kumar

Could you clarify more? I guess your question is how to make a pop-up window, isn't it? If this is your question, then you need to post this question in the JavaScript section. To open a new window you have to use the [B][COLOR="Green"]window.open[/COLOR][/B] method. For example: [CODE=javascript] <script type="text/javascript"> …

Member Avatar for jalpesh_007
0
231
Member Avatar for Pro2000

Hello, I have a simple question that I can't find an answer to. My question is: Does a **URL** include a **URN**? If yes, how can it include a **URN**? For example, this web address: www.example.com/folder/file.html In this address, where is the **URL**, and where is the **URN**? Is the …

Member Avatar for princysharma90
0
171
Member Avatar for volum

Do you mean you want to create advertisements where visitors can type their websites titles, URLs and descriptions?

Member Avatar for volum
0
298
Member Avatar for Netcode

It's hard to say it, but how about most of the countries of the whole world? Britain, the USA, Canada, India, Russia, France, etc. Sometimes, many organizations try to charge the others with their own crimes. Unfortunately, many people believe that. It's been obvious that such kinds of crimes cannot …

Member Avatar for Netcode
-2
202
Member Avatar for mrnutty

On the one hand, learning to be a programmer makes you think in a more arranged way.. You start to be more resaonable and more logical in your thoughts. On the other hand, it might make you frequently imagine the world as a program! One programmer told me that sometimes …

Member Avatar for chiiqui
0
449
Member Avatar for Hani1991

[QUOTE]The majority of our members ask one question, get the answer, and don't return.[/QUOTE] Yeah I noticed that too.. It's embarrassing because they post threads to solve and may go away with no return if they find the solution. So, the "poor" thread remains without being marked as solved, which …

Member Avatar for MooGeek
3
403
Member Avatar for Yilia
Member Avatar for DILO3D

To add anything, you may add something to the code written either in Javascript or in PHP. So, you have to take into account type of the changes you want to make. You can't just say I want to add something and add it anywhere. Please clarify what you intend …

Member Avatar for Sorcher
0
327
Member Avatar for extemer

Could you clarify the problem more than this? What do you mean by:[QUOTE=extremer][B]Edit Delete 0 0 Edit Delete 315 1[/B][/QUOTE]? If the problem is in inserting the data into MySQL, then replace the line #25 with: [CODE]$sql = mysql_query("INSERT INTO connection (subject_id,class_id) VALUES ('$subject','$id')") or die(mysql_error());[/CODE]

Member Avatar for cgull
0
131
Member Avatar for Paaat

Actually, the problem you're facing is not in MySQL. :) I think you only have to close the IF Condition bracket in the line #7 so it becomes: [CODE] if(mysql_num_rows($checkUsername)){[/CODE] Another mistake is in the line #12 where you have to escape the quotation mark in "you've" like this: [CODE] …

Member Avatar for Paaat
0
91
Member Avatar for davidaldrich
Member Avatar for Onlineshade
0
198
Member Avatar for clousot

Welcome. You seem nice! I'm not the one to be married now though :). :) /|\ / \

Member Avatar for Onlineshade
0
189
Member Avatar for Ehtesham Siddiq
Member Avatar for jacksantho

So you want to pass the values of the checkboxes into the hyperlink, don't you? If so, then you can use Javascript like the following: [CODE] echo '<script type="text/javascript"> function changeHREF(A_ID,ChkBOX){ document.getElementByID(A_ID).href="download.php?chk="+ChkBOX+"&pid='.base64_encode($id).'"; } </script>'; [/CODE] And the PHP-HTML code should become like: [CODE] echo '<br> <table> <tr><td colspan="2"><font color="blue"><b>download PDF …

Member Avatar for jacksantho
0
199
Member Avatar for Derpâ„¢

Welcome. You seem so enthusiastic. Good luck with learning.

Member Avatar for Pro2000
0
125
Member Avatar for Paaat

I think it happens because of the web browser you're using. I guess you're using Firefox, aren't you? It happened to me too. Using Firefox, I wrote a long comment on some page and tried to post it, but after sending the comment I realized that nothing changed in the …

Member Avatar for Paaat
0
158
Member Avatar for eXpertPHP
Member Avatar for jbennet
0
97
Member Avatar for yamunacbs
Member Avatar for Hani1991

See this: [URL="http://www.php.net/manual/en/language.oop5.decon.php"]http://www.php.net/manual/en/language.oop5.decon.php[/URL]

Member Avatar for Hani1991
0
100
Member Avatar for nigelsponge

Simply use str_replace as the following: [CODE] $X = $_GET['X']; $pageTitle = str_replace('\','',$X); [/CODE]

Member Avatar for coolest_987
0
197
Member Avatar for Hani1991

Since you already know what these logical operators mean, you should only refer to: [URL="http://www.php.net/manual/en/language.operators.precedence.php"]http://www.php.net/manual/en/language.operators.precedence.php[/URL] which talks about the precedence of PHP operators in general.

Member Avatar for Pro2000
0
164
Member Avatar for longinokamugish

Changes in the HTML form should also be considered as rv1990 hinted; for example, if you have the following text field: [CODE=HTML] <input name="MARITAL STATUS" type="text" ....> [/CODE] You have to make a change in its name in the same way as Hani1991 said. E.g. [CODE=HTML] <input name="MARITAL_STATUS" type="text" ....> …

Member Avatar for Pro2000
0
113
Member Avatar for Paaat

You can write the following: [CODE]$scc = mysql_query("select count(XXXX) from tableA",$connection); $sccA = mysql_fetch_array($scc, MYSQL_NUM); echo $sccA[0];[/CODE] (Replacing XXXX with a column name). This should make things work very well.

Member Avatar for Paaat
0
251
Member Avatar for Pro2000

Hello everyone.. It's come to my mind that, as a form of facilitation, it's better to put a question mark beside most of the parts of DW pages. For example, in the members' CP there should be a question mark to click on so it takes us to/ shows us …

Member Avatar for Pro2000
1
120
Member Avatar for Hani1991

Try fixing the flash disk using the fixing tool in Windows 7.. You can run it by right-clicking the flash disk drive, then choose Open AutoPlay.. Then choose Scan and Fix.

Member Avatar for Pro2000
0
571
Member Avatar for blackcathacker

I have a suggestion.. I can see very well that people here are misunderstanding each other.. So, why don't we "state our emotional state" when we "post a post".. E.g: [QUOTE]Calm: Please, try to be more explicit with your questions because we can't understand you this way![/QUOTE] E.g 2: [QUOTE]Angry: …

Member Avatar for blackcathacker
0
248
Member Avatar for Hani1991

I think this code is well-written and has no errors.. What's the browser you're running your code on?

Member Avatar for Hani1991
0
111
Member Avatar for Hani1991

You can view the script being used by simply right-clicking in any space on the web-page. Then choose "View source" or "View page source".. Then see the code being executed.

Member Avatar for Pro2000
0
107
Member Avatar for makimbo

[B]I think you can do the following:[/B] [CODE]function hondt ($votesA,$votesB,$votesC,$votesD,$votesE,$seats) { for ($i=1; $i<=$seats; $i++) { $votes[0][$i]=$votesA/$i; $votesMax[0] = ($votes[0][$i] > $votesMax[0])? $votes[0][$i] : $votesMax[0]; } for ($i=1; $i<=$seats; $i++) { $votes[1][$i]=$votesB/$i; $votesMax[1] = ($votes[1][$i] > $votesMax[1])? $votes[1][$i] : $votesMax[1]; } for ($i=1; $i<=$seats; $i++) { $votes[2][$i]=$votesC/$i; $votesMax[2] = ($votes[2][$i] …

Member Avatar for Hani1991
0
256
Member Avatar for Hani1991

I think it may be because of IE itself.. It makes me wonder how Microsoft still produces a program with such mistakes!! I mean although it's the 9th version of the program, still there are many problems that haven't been solved yet, and some new problems have recently emerged!

Member Avatar for Arkinder
1
106
Member Avatar for TheNinjaForce

[QUOTE=stru;1611369]I don't think there's much to do more than copy the files into the root folder of your local server.. For example (www)[/QUOTE] I think you should also copy the MySQL files into the path of MySQL on the upper folder of your localhost folder, e.g. [COLOR="Green"][B]C:\AppServ\MySQL\data[/B][/COLOR] Why don't you …

Member Avatar for trbograndnat
0
177
Member Avatar for Hani1991

This means that it doesn't close an opened tag at all.. It closes itself by adding the slash to the end of it (with a space before).

Member Avatar for dreamer14
0
163
Member Avatar for floatingDivs

I don't think that listing is a very good way to show sections and articles unless you don't like to add graphical symbols for sections and articles, or to add much details like about the sender's name, the date of sending the last article and last comment, etc.

Member Avatar for Pro2000
1
153
Member Avatar for KPheasey

I couldn't view your website.. There's an error retrieving it.. Anyway, usually you have to set the align property in the table tag in order for it to work on Firefox. You should do this even if you've set an alignment for a paragraph containing this table.. For example: [CODE]<table …

Member Avatar for KPheasey
0
242
Member Avatar for Hani1991

Your main problem is with stating the units of [B]margin[/B] and [B]padding[/B].. Usually Firefox doesn't recognize the units being spearated from the values; you should stick them together so that your code becomes: [CODE] body { font-family:MFF2011; margin-top:14px 12px 14px 12px; /* <-- This is more concise; (top right bottom …

Member Avatar for Arkinder
0
138
Member Avatar for loveforfire33

Well I tried your code.. It worked the same on FF and IE9.. Also, I guess your problem has to do with CSS itself not with the code you posted.

Member Avatar for Arkinder
0
189
Member Avatar for Paaat

You may need to use some JavaScript code.. I'll try to get it hopefully.

Member Avatar for Pro2000
0
129
Member Avatar for hsetaknev

[QUOTE]you must write semi-colon ';' at the end of every PHP statements[/QUOTE] [B]You do not need to have a semicolon terminating the last line of a PHP block. The closing tag for the block will include the immediately trailing newline if one is present.[/B] You can refer to the manual …

Member Avatar for hsetaknev
0
717
Member Avatar for tonyl09

You may be facing this problem because of the single quote [COLOR="green"]'[/COLOR] or double quote [COLOR="Green"]"[/COLOR] mark inside some posted field.. Anyway, in order to know what's going wrong, please instead of: [CODE]or die ("<center><h3>Unable to update the data in row. Please try again in a bit.</h3></center>");[/CODE] type: [CODE]or die(mysql_error());[/CODE] …

Member Avatar for tonyl09
0
106
Member Avatar for Hani1991

I think you should change the second line from your code so it becomes: [CODE]$GivenVar = str_replace("'",''',$GivenVar);[/CODE] Hope it helps.

Member Avatar for Pro2000
0
111
Member Avatar for Pro2000

Hello everybody.. I've been thinking what the best programming language to be used with the internet is.. In addition I want not to use ASP 'cause my web server works on Linux. Is C# better than ASP.net to download files automatically from the internet, update and retrieve information from databases …

Member Avatar for Pro2000
0
307
Member Avatar for Pro2000

Hello everybody.. Does anybody know what's the use of the execCommand() function?? Also, is it used to add tags in textboxes?? Thanks beforehand.

Member Avatar for stbuchok
0
140
Member Avatar for meghanetpulse7
Member Avatar for phorce

Although I think this thread should be put in the HTML and CSS forum (in the Web Design section), I'll answer: Instead of writing [COLOR="Green"]bgcolor="'.$bg.'"[/COLOR] you can type: [CODE]<div style="background-color:'.$bg.'"></div>[/CODE]

Member Avatar for karthik_ppts
0
123
Member Avatar for patrickm129

This issue has to do with JavaScript.. Anyway, this is the code: [CODE] <script type="text/javascript"> function chk() { if(!formName.username.value || !formName.password.value) { alert("Please make sure all fields are filled!"); return false; } } </script> <?php echo '<form name="formName" action="" method="POST" onsubmit="chk();"> Username: <input type="username" name="username"> Password: <input type="password" name="password"> <input …

Member Avatar for Pro2000
0
365

The End.