Posts
 
Reputation
Joined
Last Seen
Ranked #186
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
97% Quality Score
Upvotes Received
163
Posts with Upvotes
112
Upvoting Members
41
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
37 Commented Posts
3 Endorsements
Ranked #486
Ranked #1K
~251.38K People Reached
Favorite Tags
Member Avatar for Dani

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 …

Member Avatar for Dani
4
108
Member Avatar for vegaseat

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

Member Avatar for Reverend Jim
15
13K
Member Avatar for Vaske_1

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

Member Avatar for ishu_1
0
192
Member Avatar for nextsmm

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 …

Member Avatar for alan.davies
0
96
Member Avatar for Reverend Jim

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 …

Member Avatar for rproffitt
1
22K
Member Avatar for janicemurby

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 …

Member Avatar for anand9796
0
741
Member Avatar for Adhri

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

Member Avatar for nanakumi75
0
666
Member Avatar for rproffitt
Member Avatar for pritaeas

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

Member Avatar for pritaeas
3
3K
Member Avatar for Ashley_16
Member Avatar for Purvi_1
0
540
Member Avatar for anand9796

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.

Member Avatar for alan.davies
0
209
Member Avatar for rayne_lynch

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; …

Member Avatar for alan.davies
0
249
Member Avatar for FarrisFahad

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 …

Member Avatar for Reverend Jim
0
5K
Member Avatar for Aleeza Smith

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 …

Member Avatar for Dani
0
460
Member Avatar for Rhemiel

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

Member Avatar for alan.davies
0
348
Member Avatar for aaronmarinowork

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 …

Member Avatar for Kevin_51
-1
508
Member Avatar for Violet_82

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

Member Avatar for Dani
0
2K
Member Avatar for Reverend Jim

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

Member Avatar for Reverend Jim
2
5K
Member Avatar for vinod tik
Member Avatar for alan.davies
0
2K
Member Avatar for arry004

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 …

Member Avatar for alan.davies
-1
5K
Member Avatar for AsjadAli

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, …

Member Avatar for alan.davies
1
7K
Member Avatar for Des_2

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 …

Member Avatar for alan.davies
0
309
Member Avatar for jLamp

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

Member Avatar for alan.davies
0
333
Member Avatar for alan.davies

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 …

Member Avatar for alan.davies
1
1K
Member Avatar for kesavankani

Is that it? No code? Show your relevant code and on which does this happen.

Member Avatar for alan.davies
-2
185
Member Avatar for ushajase

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

Member Avatar for Imam_5
3
43K
Member Avatar for ajay@7838

I'm assuming mysqli query is returning false, hence the boolean msg.

Member Avatar for alan.davies
0
350
Member Avatar for ddc1975

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 …

Member Avatar for ddc1975
0
2K
Member Avatar for aveeva7

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'; …

Member Avatar for Supun_1
0
2K
Member Avatar for tun712

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

Member Avatar for Mara_2
1
4K