Member Avatar
Stephen_20 Joined the Community
Member Avatar
hi im attempting to add mysqli_real_escape_string into form to make more secure and after i added it in code below


$event_type = $_POST['event_type'];
$event_date = $_POST['event_date'];
$event_country = $_POST['event_country'];
$event_postcode = mysqli_real_escape_string($conn, $_POST['event_postcode']);
$event_title = mysqli_real_escape_string($conn, $_POST['event_title']);
$event_description = mysqli_real_escape_string($conn, $_POST['event_description']);
$event_ltm = $_POST['event_ltm'];

like so and go to fill … Topic by janicemurby in Web Development
Member Avatar
Sponsored TickledDog Replied To a Post in Word Association Game
Topic by samaru in Community Center
yourself --> aware Reply by TickledDog
Member Avatar
Sponsored diafol 3,317 Gave Reputation to Dani in Fullscreen editor
Topic by Dani in DaniWeb Community Feedback
> So php and java tags were curated due to non-noobs using them in the community center?

Yes.

> So the more visible they are, the more they're chosen and therefore the more visible they are, the more they're chosen... arghhh!

They were chosen due to non-noobs using them in … Reply by Dani
Member Avatar
Sponsored Dani 1,558 Replied To a Post in Fullscreen editor
Topic by Dani in DaniWeb Community Feedback
> So php and java tags were curated due to non-noobs using them in the community center?

Yes.

> So the more visible they are, the more they're chosen and therefore the more visible they are, the more they're chosen... arghhh!

They were chosen due to non-noobs using them in … Reply by Dani
Member Avatar
Sponsored diafol 3,317 Replied To a Post in Fullscreen editor
Topic by Dani in DaniWeb Community Feedback
Sorry for delay. So php and java tags were curated due to non-noobs using them in the community center? So the more visible they are, the more they're chosen and therefore the more visible they are, the more they're chosen... arghhh! Reply by diafol
Member Avatar
Manuel_6 Joined the Community
Member Avatar
Sponsored Reverend Jim 1,514 Replied To a Post in Windows 10 Tips
Topic by Reverend Jim in Hardware and Software
I do not have the x-box app installed on my laptop so I do not need the game-bar feature that is installed by degault. I like to use WIN-G as a shortcut for something else but when I press WIN-G I get the game-bar requestor pop-up. According to Microsoft, I … Reply by Reverend Jim
Member Avatar
Sponsored Reverend Jim 1,514 Replied To a Post in Microsoft Windows 10 Hard Drive Icon Problem
Topic by easouza in Microsoft Windows
Did you ever solve your problem? If so we would like to know the solution. Reply by Reverend Jim
Member Avatar
Sponsored Reverend Jim 1,514 Replied To a Post in Word Association Game
Topic by samaru in Community Center
suit --> yourself Reply by Reverend Jim
Member Avatar
rproffitt 505 Replied To a Post in Symbolic Reparse Points ?
Topic by Siberian in Hardware
Just to share a little more. From an article on Windows 10 Developer Mode, I think you may find this of interest.

> In Windows 10’s Creators Update, putting your device into developer mode relaxes restrictions on creating symbolic links. Previously, it was only possible for Administrator users to create … Reply by rproffitt
Member Avatar
Sponsored ddanbe 2,525 Gave Reputation to pritaeas in Read This Before Posting A Question
# NOTE #

This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky).

# Before you ask #

- Read our [Forum Rules](https://www.daniweb.com/welcome/rules).
- Engage your brain! We understand that … First Post in Topic by pritaeas in Programming
Member Avatar
Sponsored JamesCherrill 2,946 Replied To a Post in Word Association Game
Topic by samaru in Community Center
empty --> suit Reply by JamesCherrill
Member Avatar
swadhin_1 Joined the Community
Member Avatar
Topic by Maria-Adelina in Networking
Yes, thank you, that sounds exactly the thing my coworkers want. It was a delight to read about it on the wiki.
I appreciate for pointing me in the right direction, networking is not my forte. But seeing that torrenting and p2p apps can cap the dl limit per connection … Reply by Maria-Adelina
Member Avatar
dip_1 Joined the Community
Member Avatar
Sahil_10 Joined the Community
Member Avatar
rubberman 1,128 Replied To a Post in Bucket Sort
Topic by Dhelandel in Programming
Re floating point elements. I think you are correct, but just like integers, you may need multiple buckets such as [0,1], [2,3], etc to cover the range of elements. I haven't used a bucket sort since the 1980's so my recollection is a bit misty at the moment. :-) Insertion … Reply by rubberman
Member Avatar
Sponsored diafol 3,317 Replied To a Post in Undefined property: stdClass::$pic_item
Topic by davy_yg in Web Development
Sorry, just thought - if you are preparing a loop in the view - it won't work as the method just returns the single filename, not an array of records.

**View**

<img src="<?php echo base_url('assets1/images/slider/'.$pic );?>">

**Model**

public function get_picture_item( $pic_unique_id )
{
$query = $this->db->get_where('galleries_pictures', array('picture_unique_id' => $pic_unique_id));
$row … Reply by diafol
Member Avatar
Sponsored diafol 3,317 Gave Reputation to Violet_82 in declaring a json string
Topic by Violet_82 in Web Development
Actually that `Object.keys(jsonStringParsed)[0]` isn't so good after all, because it returns the label as a string, which means that I can't use it in this fashion as I thought I would:
`jsonString.Object.keys(jsonStringParsed)[0].xxxx`, as it says that the keys is undefined...

EDIT: OK, I figured that out, strange syntax for me, … Reply by Violet_82
Member Avatar
Sponsored ddanbe 2,525 Replied To a Post in Word Association Game
Topic by samaru in Community Center
absence-->empty Reply by ddanbe
Member Avatar
shivya_1 Joined the Community
Member Avatar
Sponsored Violet_82 50 Replied To a Post in declaring a json string
Topic by Violet_82 in Web Development
Actually that `Object.keys(jsonStringParsed)[0]` isn't so good after all, because it returns the label as a string, which means that I can't use it in this fashion as I thought I would:
`jsonString.Object.keys(jsonStringParsed)[0].xxxx`, as it says that the keys is undefined...

EDIT: OK, I figured that out, strange syntax for me, … Reply by Violet_82
Member Avatar
Sponsored diafol 3,317 Gave Reputation to happygeek in New moderator alert!
Topic by happygeek in Community Center
Plus, you're still in mourning for the passing of the Welsh Rugby Union team of course ;-) Reply by happygeek
Member Avatar
Sponsored diafol 3,317 Replied To a Post in Undefined property: stdClass::$pic_item
Topic by davy_yg in Web Development
No I'm talking about the model. You are getting an error in the model AFAIK.

return $row->pic_item;

This has nothing to do with a `foreach` loop. Reply by diafol
Member Avatar
Hi All,

I have a problem with my pc. Since about a week or so (I didn't download anything that day and I didn't do anythin unusual) everytime I turn on my pc the first screen that appears is AMI American Megatrends and I have to options, I can choose … Topic by KimBarbie in Information Security
Member Avatar
Hi All,

I have a problem with my pc. Since about a week or so (I didn't download anything that day and I didn't do anythin unusual) everytime I turn on my pc the first screen that appears is AMI American Megatrends and I have to options, I can choose … Topic by KimBarbie in Information Security
Member Avatar
Hi All,

I have a problem with my pc. Since about a week or so (I didn't download anything that day and I didn't do anythin unusual) everytime I turn on my pc the first screen that appears is AMI American Megatrends and I have to options, I can choose … Topic by KimBarbie in Information Security
Member Avatar
Dipti_2 Joined the Community
Member Avatar
Topic by thewhitezombie in Hardware
Hold the Ctrl and Fn key down together and press also the Ins(Num LK) key. This should revert the keys back as normal. Well it worked for me.


Thank you Reply by Salbin