- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 163
- Posts with Upvotes
- 112
- Upvoting Members
- 41
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
Re: Welsh saying: *"Benthyg dros amser byr yw popeth a geir yn y byd hwn"* TR: Everything you have in this world is just borrowed for a short time Attrib: https://www.walesonline.co.uk/lifestyle/fun-stuff/24-beautiful-welsh-proverbs-sayings-9299776 | |
Re: Just checked-in out of interest after a long time away. Glad to see a lot of old friends still active here. Then I came across this post. It upset me a bit. Daniweb was the sun in my very dark days. I think a lot of us gained so much … | |
| Re: [https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php#post2183865](https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php#post2183865) Item #6 'Twas an old post of mine, possibly still useful. |
Re: Sorry, bit late with reply. Laravel used to be really lightweight, easy to set up and go. It's still a great product but as it's continued to develop, so the learning curve has increased. If you're looking to develop an MVC, then it has some great positives with regard to … | |
Re: This exemplifies why Trump rose to power. Justify nothing, point to a failed alternative. His supporters understand this They do it to justify supporting him. You will never win an argument with this flavour of wing nut. Well you will every time but they fail or pretend to fail to … | |
Re: With gm here. Use a background image on a div. Example: **HTML:** <div class="pagewrap" style="background-image: url(http://www.example.com/example.jpg); "> <header> <h1><span>The Title of the Website</span></h1> <p><span>The tagline in its full glory</span></p> </header> </div> *The style image could be placed in the css, but I had it in the markup for convenience when … | |
Re: Oh my. Tangled concatenation and escaping. I suggest using a prepared statement. This won't necessarily solve your problem but it will tidy up your markup and code and possibly make it easier to track down the issues. See my old tutorial: https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php | |
Re: Things still inordinately slow wrt threads. Anything wrong? | |
Re: Hi P! Wondering if you'd pop over again :) Nice to hear things going well for you. I pop in maybe once a month these days, Cheers diafol (I deleted my account - he was an a***hole!) | |
Re: Have a look at the competition: http://wowslider.com/demos.html | |
Re: Why do you need to avoid aggregate functions? What data are you trying to pivot? No info supplied so it's v difficult to help you. | |
Re: The server will store "session cookies" and check against that. It doesn't matter if you do from accessible to limited access pages. Every page should have a session_start(); usually at the top of the page before any other output. Then if it's a limited access page... session_start(); if(!isset($_SESSION['login'])){ header("http://www.example.com/home"); exit; … | |
Re: The mind boggles a bit. You can build forums and blogs but can't build a simple website? You think people will want to buy your admittedly not very good scripts? Bit confused here. You can't use theme forest etc due to strict moderation? You can self host i suppose. Use … | |
Re: Depends how you are storing the data. If a person has to log in then you search for the users id in the table. If it doesn't exist, add the record, if it exists, edit the record. There are queries that will do this in one go. If you do … | |
Re: This is like a menu submenu system... https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php#post2183865 Item #10 | |
Re: I set up my own webdev business - full stack LAMP development. Never took a paid course. You build things up incrementally over years, learning the limitations and foibles of each technology and language, while trying to keep abreast of new developments and ensuring backwards-compatibilty. CSS and HTML are pretty … | |
Re: Like previous iterations, too many hidden features. How to do this or that should be obvious eg esc for full page editor. Not that intuitive. Hate trying to get to a post from the forum listing. Every time I end up on the last poster's profile. Grrr | |
Re: Over here we have a history of deliberately spoiling ballot papers as a means of protest. Would the machine not allow this? Or would there be an option, something like "none of the above arseholes" . | |
Re: We can't copy and paste screenshots in order to test your code. Please paste your code | |
Re: Probably best to start your own thread. A 12 year old well dead thread ain't going to attract much attention. Seeing as you also posted this to stackoverflow: https://stackoverflow.com/questions/56817045/using-crystal-report-with-php Let us know if you have not got a solution in case we waste our time trying to help you and … | |
Re: You are duplicating HTML fields instead of setting them up as an array: <td><input type="text" value="<?php echo $row['student_id']; ?>" name="student_id" ></td> <td><input type="text" value="<?php echo $row['fname']; ?>" name="fname" > Try this: <td><input type="text" value="<?php echo $row['student_id']; ?>" name="student_id[]" ></td> <td><input type="text" value="<?php echo $row['fname']; ?>" name="fname[]" > But then unfortunately, … | |
Re: OK for this you need to have a new table. Let's call it game_images for now. You will need a minimum of three fields: id (pk) , game_id (fk), filename. To keep it as simple as possible we'll assume that all your game images are stored in the same folder … | |
Re: <?php session_start(); if (!isset($_SESSION["username"])) { header("userLogin/?notloggedin=true"); //may need to use absolute or different relative address exit; }elseif($_SESSION["user_group"] !== 'admin') { header("whateverPage/?notadmin=true"); //may need to use absolute or different relative address exit; } //carry on with showing the page if logged in and admin ?> | |
Just wondering how DW is doing re posts. I pass by from time to time and peruse the webdev forum. Apart from code snippets from Dani, I see very little new stuff. Am I missing something? Is it just that forum that's showing old posts? Even when I turn off … | |
Re: Is that it? No code? Show your relevant code and on which does this happen. | |
Re: Making your home pc visible to the outside world can be a worry. See this guy for some great discussion https://www.quora.com/Can-I-host-my-own-website-with-my-own-computer-How-would-I-go-about-doing-that | |
Re: I'm assuming mysqli query is returning false, hence the boolean msg. | |
Re: What type are your users? Causual browsers or registered users? Both? This can direct your solution. If you have registered users, then DB storage would be the preferred method, as users can then pick up their preferences from any device as long as they're logged in. If you have causual … | |
Re: As webmachine states send the form to one file and then send data onwards from there once everything has been validated and cleaned. If you need the data to perform a few procedures, you can do this via includes. For example... //do validation on POST vars if(!$validate) header('file0.php?err=1'); include 'file1.php'; … | |
Re: Tun712. This whole project sounds like a nightmare. One you should decline, in my opinion. A three month job for a highly experienced one man band is very ambitious. Also for this type of work with a custom built interactive shop, I would expect a fee in excess of £15k. … |