-
Replied To a Post in Store image-Database
[BLoB](http://en.wikipedia.org/wiki/Binary_large_object)s? I would encode the picture in base64 and then BLoB it down the database. -
Replied To a Post in :visible is true no matter the toggle state
o_O That's one of the weirdest bugs I've ever seen. If I try fresh Fiddle and I say `alert("Hi.");` it alerts me "Hi.", when I comment your entire jQuery out, … -
Gave Reputation to piers in :visible is true no matter the toggle state
Hi Everyone, I am trying to store the state of a show/hide button so that when the browser is refreshed it will show the previous stored state. I have a … -
Replied To a Post in how to store array values into mysql table
> Is it me or are we open to SQL injections here as we're using raw input and not sanitizing. Better to use prepared statements. We provide answer to unfinished … -
Gave Reputation to Lutina in C++ programming Tips
One thing I learned from programming is that, we avoid a lot of bugs in our code if understand the concepts correctly. If you are learning from a book or … -
Began Watching UI table is not displaying properly in Internet Explorer 11
  Hi. In my project UI Table is not displaying properly (not working) in **Internet** **Explorer 11**, where as in **Mozilla Firefox** it's working properly. please see … -
Replied To a Post in UI table is not displaying properly in Internet Explorer 11
Can, we, uh... see the CSS? -
Began Watching How to use html text editors ?
Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a … -
Replied To a Post in How to use html text editors ?
[Do you mean this?](http://ckeditor.com/), it's quite downloadable application written by people who are into this stuff. This might help you. WYSWIG are applications which would automatically format text for you, … -
Replied To a Post in Please help me
Yea, was just about to send you link to this thread (so you'd have more vision on the situation), then it turned out you are already here. -
Replied To a Post in Please help me
You won't learn anything if I end up making entire homework for you. I provided you the script, the lines of code I provided, if you combine this with, [mathematical … -
Gave Reputation to lps in how to store array values into mysql table
As from my view, since $arr_data containing values of `Array ( [0] => Array ( [sn] => 1 [mob_no] => 9602858989 [date] => 06-May-2015 [time] => 12:02:33 PM ) [1] … -
Replied To a Post in how to store array values into mysql table
Okay, forget what I said, ^^^^, better solution. -
Replied To a Post in getting users OS info out of $_SERVER['HTTP_USER_AGENT']
> And would it be ok if i ask you to explain this for me too!! > preg_match("/^[A-Za-z0-9'?!-\s\\\\]+$/", $field) > If you know it, Thank you. You like torturing people, … -
Began Watching C++ programming Tips
Good day people. They say the only way you can be a good programmer is if you learn it the hard way, by coding a lot and working on the … -
Replied To a Post in C++ programming Tips
> They say the only way you can be a good programmer is if you learn it the hard way *You don’t really understand something unless you can explain it … -
Gave Reputation to lps in how to store array values into mysql table
@Aeonix, your query is having problem with the double quotes. `mysqli_query("INSERT INTO table (sn, mob_no, date, time) VALUES ($myarray["sn"], $myarray["mob_no"], $myarray["date"], $myarray["time"]));` The sn,mob_no,date,time will read as variable and is … -
Replied To a Post in how to store array values into mysql table
Oh, crap! Thanks! Oh, crap, use this one instead: $output = file_get_contents($api_url); if($output=="") { echo "No output received"; } else { $arr_output = json_decode($output, true); if(isset($arr_output['msg'])) { $msg = $arr_output['msg']; … -
Replied To a Post in getting users OS info out of $_SERVER['HTTP_USER_AGENT']
I'm not professor of PHP. So far I understand it `/ubuntu/` will seek for every "ubuntu" in the text, regardless whether it's at the begin, or in middle, or at … -
Began Watching :visible is true no matter the toggle state
Hi Everyone, I am trying to store the state of a show/hide button so that when the browser is refreshed it will show the previous stored state. I have a … -
Replied To a Post in :visible is true no matter the toggle state
> I am trying to store the state of a show/hide button so that when the browser is refreshed it will show the previous stored state. So, you want, if … -
Replied To a Post in getting users OS info out of $_SERVER['HTTP_USER_AGENT']
I'm pretty sure, just out of my head, that if you replace: '/linux/i' => 'Linux', '/ubuntu/i' => 'Ubuntu', With: '/linux/i' => 'Unspecified Linux', '/ubuntu/i' => 'Linux Ubuntu', '/slackware/i' => 'Linux … -
Began Watching getting users OS info out of $_SERVER['HTTP_USER_AGENT']
Hi. With `$u_agent = $_SERVER['HTTP_USER_AGENT'];` i can get the users information but i just want to echo the OS that users use, something like: Linux,Ubuntu How can i get this … -
Replied To a Post in getting users OS info out of $_SERVER['HTTP_USER_AGENT']
<?php $user_agent = $_SERVER["HTTP_USER_AGENT"]; function getOS() { global $user_agent; $os_platform = "Unknown OS Platform"; $os_array = array( '/windows nt 10/i' => 'Windows 10', '/windows nt 6.3/i' => 'Windows 8.1', '/windows … -
Replied To a Post in how to store array values into mysql table
$output = file_get_contents($api_url); if($output=="") { echo "No output received"; } else { $arr_output = json_decode($output, true); if(isset($arr_output['msg'])) { $msg = $arr_output['msg']; $msg_text = $arr_output['msg_text']; if($msg == "SUCCESS") { if(isset($arr_output['data'])) { … -
Began Watching Dynamic Form
Hi, I want to create a dynamic form, relative with the table i'm working with. I'm selecting the columns from a certain table: <?php $tableColumns = $dbConnect->query("SHOW COLUMNS FROM projects … -
Replied To a Post in Dynamic Form
You could let Ajax do this. You would then repeat certain PHP function over and over again, with space of around 2 seconds, wait until PHP finds something new in … -
Began Watching how to store array values into mysql table
Array ( [0] => Array ( [sn] => 1 [mob_no] => 9602858989 [date] => 06-May-2015 [time] => 12:02:33 PM ) [1] => Array ( [sn] => 2 [mob_no] => 7795055128 … -
Replied To a Post in how to store array values into mysql table
Let's say, this array is called `$myarray`. mysqli_query("INSERT INTO table (sn, mob_no, date, time) VALUES ($myarray["sn"], $myarray["mob_no"], $myarray["date"], $myarray["time"])); -
Began Watching Please help me
Can all of u help me? I can not solve this: <DOCTYPE html> <html<!> <head> </head> <body> <h3>PHP Conditional Operator</h3> <?php $a=100; $b=200; $c=300; $d=500; $e=600; ............................................. how can I … -
Replied To a Post in Please help me
You mean maximum value and the minimum value? $a=100; $b=200; $c=300; $d=500; $e=600; echo "The highest value is: " . max($a, $b, $c, $d, $e); echo "The lowest value is: … -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
- And would it work with much larger one? If I had 500TB one? Could I also use it? - hard drives*, if I had 4xSSD with 600MBs, it at … -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
Okay, third attempt, :D, If I had a desktop, and if I had SATA entrance that would be able to handle 3 1/2" drives, would it be able to handle … -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
I know, that they don't exist... but question was, would support immensely large HDD storage, I found 8TB, it would be nice if it fit. -
Edited Is there a limit on storage memory; and transfer memory?
On certain websites you can order laptops, and sometimes even they allow you to change certain parts of it. Let's take the example of HDD, the website offered quite an … -
Edited Is there a limit on storage memory; and transfer memory?
On certain websites you can order laptops, and sometimes even they allow you to change certain parts of it. Let's take the example of HDD, the website offered quite an … -
Created Is there a limit on storage memory; and transfer memory?
On certain websites you can order laptops, and sometimes even they allow you to change certain parts of it. Let's take the example of HDD, the website offered quite an … -
Began Watching Is there a limit on storage memory; and transfer memory?
On certain websites you can order laptops, and sometimes even they allow you to change certain parts of it. Let's take the example of HDD, the website offered quite an … -
Replied To a Post in can't installing anything on headless debian
sudo apt-get install python-software-properties If this won't work sudo nano /etc/apt/sources.list And edit manually :) -
Replied To a Post in can't connect to database
`mysql` is how the database is called, but there has been an update to it called `mysqli` which is essentially just "MySQL improved", I think you need to upgrade your … -
Began Watching linux log files
I just built my first computer and instlled headless on it. When I boot it up there are a few problems on the black and white screen with all the … -
Replied To a Post in linux log files
sudo nano /var/log/boot.log sudo nano /var/log/dmesg First line is log for boot and `dmesg` is supposedly Ring 0 log, or you could just `dmesg | less` in case when you … -
Began Watching can't installing anything on headless debian
I just installed a headless Debian on my first that I'v ever built but I can't install any packages on it. root@media-server:~# apt-get install vim Reading package lists... Done Building … -
Replied To a Post in can't installing anything on headless debian
sudo add-apt-repository ppa:nmi/vim-snapshots sudo apt-add-repository ppa:passy/vim sudo apt-get update sudo apt-get upgrade There has been somebody who had already one version of Vim, and there was newer one which he/she … -
Gave Reputation to ddanbe in Find the path of an embedded resource file
Hi Navee30 welcome at DaniWeb! If you consider that your application executable is like a [raisin cake](http://www.bbcgoodfood.com/recipes/5396/almond-raisin-cake-with-sherry), the resources are the raisins in the dough. They are embedded. Only your … -
Began Watching can't connect to database
hello. I am getting a blank page on localhost/myproject/ i am pretcty sure th.at\ it cant connect to the database because when i am using a simple echo it returns. … -
Replied To a Post in can't connect to database
Okay, questionaire: 1. Do you have Apache server? Start it. 2. Do you have MySQL server? Start it. 3. Create a file called `config.php`, put inside <?php $sql_un = "root"; … -
Began Watching Keyword Ranking
How to increase Keyword Ranking in Google? -
Replied To a Post in Keyword Ranking
[I think, first 6 of those are already something I could do and would be observable, and I'm entirely NOT a SEO person.](https://www.youtube.com/results?search_query=SEO+Google) -
Began Watching Find the path of an embedded resource file
Hello, I need the path (string) of an embedded file in a Console application. I tried "Properties.Resource.file", but I got its content, not the path. Any help is appreciated.
The End.