- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 35
- Posts with Upvotes
- 29
- Upvoting Members
- 12
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Student
- Interests
- Programming
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
| |
Re: 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"> … | |
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 … | |
Re: Do you mean you want to create advertisements where visitors can type their websites titles, URLs and descriptions? | |
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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] … | |
Re: Welcome David, and good luck with finding the answers you need. :) | |
Re: Welcome. You seem nice! I'm not the one to be married now though :). :) /|\ / \ | |
Re: 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 … | |
Re: 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 … | |
Re: See this: [URL="http://www.php.net/manual/en/language.oop5.decon.php"]http://www.php.net/manual/en/language.oop5.decon.php[/URL] | |
Re: Simply use str_replace as the following: [CODE] $X = $_GET['X']; $pageTitle = str_replace('\','',$X); [/CODE] | |
Re: 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. | |
Re: 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" ....> … | |
Re: 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. | |
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 … | |
Re: 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. |