Member Avatar
Sponsored berserk 60 Revoked Solved Status for cant Prevent Duplicate id values from entering my tables
SO Basically i have this problem with this test build of a little project im rewriting and so far its not looking to good

I have multiple tables that are all the same, they have been set up this way for simplicity as far as i can tell.

Tables



+----+----------+-----------------+---------------+-------------------+ … Topic by berserk in Programming
Member Avatar
Amjad_5 Joined the Community
Member Avatar
Topic by Er_3 in Community Center
Internet service provider provide better speed for downloading than uploading because on the internet user do downloading activities more comapre to the uploading activities. Reply by Nisha_6
Member Avatar
Red_1 Joined the Community
Member Avatar
Rock_1 Joined the Community
Member Avatar
how do i implement multiprogramming using fixed partition? Thanks.. Topic by ADENIJI_1 in Computer Science
Member Avatar
ADENIJI_1 Joined the Community
Member Avatar
James William Joined the Community
Member Avatar
Cireyoretihw Replied To a Post in Granny Clock
Topic by paul_52 in Software Development
if you google "rpi python minecraft clock"
couple of different version of this visual clock in A MINECRAFT enviroment but you can make a simple version python script to do what you want with a few PRINT lines ...

i think you will injoy the interative nature ... and maybe … Reply by Cireyoretihw
Member Avatar
Sponsored davy_yg 16 Replied To a Post in Undefined property: stdClass::$pic_item
Topic by davy_yg in Web Development

controllers/Cspages.php

public function index()
{

$this->load->helper('url');

$this->load->model('gallery_model');

$pic_unique_id = 18; // slider

$data['pic'] = $this->gallery_model->get_picture($pic_unique_id);

$this->load->view('index', $data);
}

models/Gallery_model.php

public function get_picture($pic_unique_id)
{
$query = $this->db->get_where('galleries_pictures', array('picture_unique_id' => $pic_unique_id));
$row = $query->row();
return $row->pic_item;
}


views/index.php

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


A PHP Error was encountered

Severity: Notice

Message: Undefined property: … Reply by davy_yg
Member Avatar
cehrealty Joined the Community
Member Avatar
JOY_8 Joined the Community
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