2,040 Posted Topics
Re: What is the error by the way? | |
Re: If it is viewable or clients know exactly what the URL is, it is possible to download the file unless your server has permission set up to access the file. If you are talking about viewing it as PDF but not allow downloading, you may need something similar to Google … | |
Re: You are doing it backward if you attempt to implement the program in GUI before you complete the program logic. Did you learn it this way from a classroom? Or did you self-learn it? What you need to do is to implement it without GUI. First, implement a class that … | |
Re: Maybe this [old post](http://community.sharpdevelop.net/forums/p/9012/25033.aspx) would help? | |
Re: You are putting the `$conn` in wrong place... Please take a look at its syntax [here](http://php.net/manual/en/mysqli-result.fetch-array.php). Tldr, put the `$conn` as part of `mysqli_query` parameter, not in `fetch_array`... ![]() | |
Re: What do you mean? You culd do `<a href="javascript:void()>"` or something. Better yet, you could do `<a href="#">` which would keep the link to the same page. Not sure what you reall want... | |
Re: Well, you could retrieve a page data via a script (Perl, Python, etc.). Implement a script that can retrieve a page data, and then use Regular Expression to help you to search for matched words. This way, it should help you screen page data and reduce your manual work load... | |
Re: There are tons of JavaScript [graph libraries](http://www.sitepoint.com/15-best-javascript-charting-libraries/). You may just pick one. ;) ![]() | |
Re: [Here](http://www.java2s.com/Code/Java/JSP/DisplaytableinDatabase.htm) is an example for JSP. | |
Re: I believe you falls into the same issue as this [post](http://stackoverflow.com/questions/5376278/how-to-hide-a-column-gridview-but-still-access-its-value) where the OP misunderstood the grid view property. | |
Re: Before you attempt to calculate with program, do it by your hand first. You need to ID each process. I am going to assume as follows: Arrival time 0 is ID 1 (processing time 7) Arrival time 2 is ID 2 (processing time 4) Arrival time 5 is ID 3 … | |
Re: I highly doubt that your free host has database in the same server. In other words, `$db_host="mysql1.000webhost.com";` is very likely to be wrong. You need to find out what you really need to connect to from your host. Normally, they would have it as an IP address, not a DNS... | |
Re: You need to read on `=` v. `==`... One is to assign a value from the right hand side to the left hand side, and the other is to compare. | |
Re: If you do a proper indentation, you would have found an issue... //Checking for a form submission// //Is Form Completely Filled Out?// if ($_SERVER['REQUEST_METHOD'] === 'POST') { //First Name// if (preg_match('/^[A-Z '.-]{2,45}$/i', $_POST['first_name'])) { $fn = escape_data($_POST['first_name'], $dbc); } else { $reg_errors['first_name'] = 'Please enter your first name!'; } //Last … | |
Re: Hmm... Not sure about how jquery syntax would be. However, in simple JavaScript, you just send each form data to the server when a button is clicked in your javascript. Currently, in your jquery, you push the form submission once a user click the submit button. So, you may have … | |
Re: Not sure what you mean by your question... If it is OpenOffice, you should take a look at [VLOOKUP()](https://support.office.com/en-us/article/VLOOKUP-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1). The first value would be an empty string, and the first column in table array must be the column you are looking for. i.e. `VLOOKUP("", A2:C7, 2, TRUE)`. | |
Re: Actually, there would be an issue if and only if 1)your site takes critical information and passes it to the 3rd party (I guess you don't do that) and 2)your website is being targeted/monitored. I believe you don't handle any information when paying and your website is very unlikely to … | |
Re: Your program won't get out of a loop if the `path` variable is not null... Anytime you are using a `while` or `do-while` loop, ensure that you can GET OUT of the loop in some way or you will be stuck inside an infinite loop... Anyway, the idea is that … | |
Re: Please read the [posting rules](https://www.daniweb.com/community/rules); especially pay more attention on **Keep It Organized** section. | |
Re: How big is the image file? If it is quite big (even 1 MB), it could take sometimes to load. Ajax is supposed to be for small data transaction so that the client doesn't need to reload the whole page... | |
Re: Is your variable `sessionStorage` or `session`? You set item to `sessionStorage` but then try to get item from `session` variable... | |
Re: Line 11 redeclares line 1 variable??? | |
Re: This [post](http://stackoverflow.com/questions/186338/why-is-require-once-so-bad-to-use) is talking about performance difference between `require` and `require_once`. May be interested for you. | |
Re: Please read the [posting rules](https://www.daniweb.com/community/rules); especially pay more attention on **Keep It Organized** section. | |
Re: I don't code VB, but from what I see the syntax, you should be doing `idList.Add("Props" & txtProps.ToString)`. The first argument is the name and the one after `&` is the value. If you want to assign `txtProps` to the "Props" then you would need to assign it right there. | |
Re: You may start with [this](http://www.w3schools.com/php/php_form_complete.asp). It should give you an example of how to accept input on a web browser form. If you want to read from a file, then [this](http://php.net/manual/en/function.readfile.php) may be what you want... PS: Please be more specific next time. | |
Re: I am confused with your current script... $q=mysqli_query($this->db,"SELECT to_uid_fk FROM table WHERE status='1' ") or die(mysqli_error($this->db)); Why do you want to save all IDs with status 1 in one record? Would it be easier to INSERT each ID and status 1 as a record in a table? Are you trying … | |
Re: Google it? One is directly from Microsoft -- https://msdn.microsoft.com/en-us/library/aa288436%28v=vs.71%29.aspx | |
Re: Line 32, you have double `$$`? PS: This is a BAD idea saving password in PLAIN TEXT in your database... Also, it is a VERY BAD idea to allow SQL injection attack. | |
Re: If you are not using Ajax but the load time after submission is so long, you could easily accomplish the display with JavaScript. I DO NOT recommend using Ajax if the process is that long (several minutes as you said) on your server before the page is redirected to another … |
The End.