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
~254.00K People Reached

107 Posted Topics

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 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
6
204
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
202
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
98
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
748
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
707
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 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
214
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
251
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
461
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
349
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
511
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
313
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
339
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
187
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
361
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
3K
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
Member Avatar for Menzk
Member Avatar for Reverend Jim

HG has summed it up succinctly. The bit I agree with most is... "I've given up caring". It seems very little has happened in terms of domestic policies since Breakshit was announced. Either things have been slipped in during big Breakshit news so that they fly under the radar, or …

Member Avatar for Reverend Jim
1
6K
Member Avatar for divinity02

I'd worry more about the sql injection that you've opened yourself up to. Either sanitize or use a prepared statement. Sorry can't examine your code further at the mo other than you must validate all your user input data. The services data seems to be the wrong data type. Are …

Member Avatar for paulmdavis0
0
358
Member Avatar for Aakashdata

JOINS in SAP HANA, from what I've read, are pretty much standard SQL affairs... SELECT [alias1.field1, alias1.field2, alias2.fieldA...] FROM [table1] AS [alias1] INNER JOIN [table2] AS [alias2] ON [alias1.joinfield] = [alias2.joinfield] BTW - don't put in the square brackets - they're just there to denote placeholders / examples!

Member Avatar for alan.davies
0
342
Member Avatar for Dani

I am surprised at this thread. We were here around 4 to 5 years ago. SEO /search results was the issue then and it's the issue now. I remember reformatting 1000s of posts to make it more Google-attractive. Don't think it worked. The forum format may be dead in the …

Member Avatar for happygeek
2
6K
Member Avatar for hlforr

Retaining values across 'pages' requires storage. The usual method is session data usually stored in variables... $_SESSION['somename'].

Member Avatar for alan.davies
0
586
Member Avatar for Bahrija

You can skin this particular cat in many ways. here are 2 examples, neither of which I've given much thought to - so there's probably a few better ways out there. Anyway... <?php $inputArray = [ [ 'SupSKU', 'MfrSKU', 'Cost' ], [ 'A', '11742-4', 47.25 ], [ 'B', '11742-4', 283.5 …

Member Avatar for alan.davies
0
4K
Member Avatar for dloj333

The reason you did [not] have a response could be that you did not give any useful information. Can you show any code? Screenshots? Anything? What other plugin do you have installed?

Member Avatar for alan.davies
0
360
Member Avatar for bprosic

Looks a bit complicated to me, so I'd do something like this... $raw_string = "´´´´Hello´´´´ !!!!Really??!!!! ´´´´nice´´´´"; //string to parse $tokens = [ ["/´´´´/", "\n<pre>\n\t<code>\n","\n\t</code>\n</pre>\n"], ["/!!!!/","<b>","</b>"] ]; //[replacement text, open tags, close tags] $the_string = $raw_string; //could do something to it here foreach( $tokens as $tk ){ $the_string = preg_replace_callback( …

Member Avatar for Dani
0
3K
Member Avatar for abdallah mohamad
Member Avatar for abdoosh
0
4K
Member Avatar for keaikitse
Member Avatar for ChrisJ

What's the point of the balance AND the wallet? Why not pass any compo straight to the wallet? Could you do away with the balance? The way I see it, you just need a transactions table with something like ... [ user_id | amount | transaction_type | trans_datetime ... ] …

Member Avatar for alan.davies
0
501
Member Avatar for jkon

This is way above my understanding. Would you be able to host java and php servers e. G. tomcat and apache together? As in port 8080 and 80? Or am I missing the whole point?

Member Avatar for Trasser
1
2K
Member Avatar for Dani

Mentioned this issue about ie and Edge here https://www.daniweb.com/community-center/daniweb-community-feedback/threads/518370/android-issues-with-hamburger-menu-and-buttons

Member Avatar for alan.davies
1
4K
Member Avatar for Alexandru_3

Ok sounds like your tables may not be normalized properly - apologies if this is not your case. For example, your teams should be given a unique identifier or `id` (Primary Key) in their own table. Any reference to teams outside your teams table, must not be on the `id` …

Member Avatar for alan.davies
0
373
Member Avatar for Sanjay_23

What have you tried? You seem to have a set of related tables. How about writing out a plain language sentence or two on how you want your query to manipulate the various bits of data. I often find this helps to get my head around things.

Member Avatar for alan.davies
0
454
Member Avatar for alan.davies

On my android device I get no dropdown menu at all from the hamburger. Chat and profile image on the titlebar work fine as does the main dw logo. Also while creating this post. The continue button on the first screen (deciding forum and thread type) was unresponsive. As does …

Member Avatar for Dani
1
4K
Member Avatar for steffanylo465

You need to understand the various parts involved with the card number. Type of industry / industry ID / issuer ID / personal account + checksum or if it doesn't need to be "real", use a random number generator (12-19 digit). I'm assuming you just need a javascript implementation of …

Member Avatar for aiylaarnold
1
585
Member Avatar for clickHere

Few ways to do this. You can hide the questions and then show them with a button click. You can get questions from the server via Ajax and insert them. If it's just bog standard questions a hide and show may be best.

Member Avatar for alan.davies
0
461
Member Avatar for patk570

ui.item.drecord.name.fname `drecord` from your json is an array ([...]) - so you need an index - and I don't see `fname` as a property under `name` - so I changeed it to `surname` - perhaps this would work... ui.item.drecord[0].name.surname From your example... { "drecord": [ { "name": { "surname": "Aaliyah" …

Member Avatar for alan.davies
0
2K

The End.