I have a form that uploads a news article with it's picture and then stores all the info correctly. I am using codeigniter with Active Record and would like to know how to display the image with the post it was uploaded with. here is my upload script: public function create(){ $data = array('error' => ''); $config = array( 'upload_path' => './uploads', 'allowed_types' => 'gif|jpg|png', 'max_size' => '204800', 'max_width' => '1920', 'max_height' => '1080', 'encrypt_name' => true ); $this->load->library('upload', $config); if(!$this->upload->do_upload()) { $error = array('error' => $this->upload->display_errors()); $data['title'] = 'Create a news item'; $data['main_content'] = 'news/create'; $this->load->view('templates/template', $data, $error); } …

Member Avatar
Member Avatar
+0 forum 4

Sir can you please send me an example to upload an image to the server (with user defined file name and display message if name exist) at specific folder "images" and save its path to the mysql database. And again display the images uploaded on the server folder by using the path which is stored in database. Sir i am able to upload image on server specific folder or the image directly in database in bolb datatype but i become failed to store its path in database and fetch the uploaded image using the path in database. So please guide …

Member Avatar
Member Avatar
+0 forum 6

This code shows how to obtain and display a GIF image from an internet website using the Tkinter GUI toolkit that comes with the Python installation.

Member Avatar
Member Avatar
+4 forum 7

Hey lately i have currently been looking for a new cpu cooler considering that i still have the default stock cooler that came with the cpu and/or case... Which isn't really doing its job too well not cooling and extremely loud (doesn't help that the computer is in the hottest room thats like a oven through out the day). I would like to aim for something between $30-60$ excluding postage costs (preferably something cheaper thats half decent).

Member Avatar
Member Avatar
+0 forum 2

I was working on C# windows application as front end and SQL as back end I have display my sql table data in dtatgridview. [B]I want to display the data in textbox whatever row i select in datagridview.[/B] I have write some code but its not showing data in textboxes. here is my code: [B]the code is on datagridview cellcontentclick event[/B] [CODE] cn.ConnectionString = "Data Source=sam-AB59A9C19;Initial Catalog=master;Integrated Security=True"; cn.Open(); SqlCommand cmd = new SqlCommand(); SqlDataReader rdr; string cd = dataGridView1.SelectedRows.ToString(); string CommandText = "select * from acc where id=@id"; cmd = new SqlCommand(CommandText); cmd.Connection = cn; cmd.Parameters.Add(new SqlParameter("@id", System.Data.SqlDbType.VarChar, 20, …

Member Avatar
Member Avatar
+0 forum 10

I am having an issue with my computer starting up. It will power up, I hear the hard drives spinning, the fans all come on including the CPU fan. But I get no visual, no beeps. I tried to wait out around 5 min or so to see if it is going through it's startup process which would cause my mouse and keyboard to light up once in Windows at the login screen, but it never did that. I tried to test a different monitor, a different graphics card and all variations between. I don't see the power signal inside …

Member Avatar
Member Avatar
+1 forum 37

I have a gateway FX laptop with 1400 x 1200 screen resolution. Can I swap this screen to another FX laptop with a current screen resolution of 1400 x 900 if they have the same video card or will there be other consideration to deal with?

Member Avatar
Member Avatar
+0 forum 1

Recently I Bought Asus Motherboard (model P5RD1-VM).I Put This Motherboard And Connected It With All Parts.when I Started The Pc Everything Went Well. I Have Installed All The Necessary Softwares And After The Pc Runs For About Two Hours I Turned It Off. The Problem Now Is When I Pluuged It The Next Day It Started By Itself And Moreover There Is Nothing On The Monitor.I Have Tried Different Monitor,another Ram,another Power Supply The Same Thing Happens . Please Help Me Solve This Problem Elias

Member Avatar
Member Avatar
+0 forum 40

hi everyone hope you are all well... i am login with userid and password and i want to display there username after login from my oracle database how?

Member Avatar
Member Avatar
+0 forum 3

I have a late 2016 MacBook Pro running the latest version of OS X Sierra 10.12.6 Ever since I got it, I've been having a problem connecting it to external displays. Firstly, there is the 32" 4K Seiki Pro, connected via a USB-C cable. Most times when the Mac goes to sleep, the display does not come back until I put the computer back to sleep and wake it up, and *then* connect the cable when it's woken. Apple Support says this is a known bug but there is not currently a fix. Then there is the LG UltraFine 5K …

Member Avatar
Member Avatar
+0 forum 3

Good morning all. Call me Imp. I have built a computer from scratch - no problems. A friend shipped his to himself when moving via USPS and when it arrived it wasn't working (and of course his insurance claim was denied). When he turns it on it rattles and hums and there is no display. Now he's bringing it to me to see what I can do (he's like the guy from Jurassic Park - computer are afraid of him). I have read through several of your threads to get an idea of what to look for and will post …

Member Avatar
Member Avatar
+0 forum 1

I have a problem with my computer and wonder if you guys could help me. The problem is that my computer runs but there is no display on Monitor. The problem is not with the monitor because I tried it with other computer. The problem started somedays ago because of I got this error [COLOR="Red"]nvlddmkm[/COLOR]. The problem then was that after I was watching a video the monitor got turned off. When I restarted the computer I could see the screen but it was some problem with the screen and a repair thing was running. Every time a turned on …

Member Avatar
Member Avatar
+0 forum 34

Hey everyone, We currently have 7 computer labs with atleast 20 pc's in each. We have to lock the equipment so that it's not taken and our currently solution is to catch all the cables in a padlock and lock them. While this works and stops people from being able to take stuff, for us, we have a huge bunch of keys and have to go through each - one at a time - when trying to find the right key to open the lock. (We bunch the keys by lab so we don't have 140 keys on one lock …

Member Avatar
Member Avatar
+0 forum 4

Hello everyone, I have a Sony lv-240J and I it turns on all the fans spin but then there is no beep, no boot, no display or anything. After a couple of minutes it just turns off. I connected a display to it and nothing. I tried to use it as a display, it gets read but nothing on the screen. It has been like this for 5 years and I just bought a new motherboard and still no results. I tried a new hard drive with windows on it, still nothing. One ram stick and without ram still nothing. …

Member Avatar
Member Avatar
+0 forum 12

Hi all, I have a dell inspiron N5010 laptop, a day back it went off. I tried to restart and it just keeps on beeping. After a bit a looking aboud i figured it is a display error (failed LCD). So is figured if i remove the LCD cable from the motherboard then i should be able to connect a external monitor through VGA cable. So i set it up, turned on; it does the same beeping. what can i do here? I tried pwr + D (for LCD test); but i get know bright colors.

Member Avatar
Member Avatar
+0 forum 4

Ok folks, I rarely log in to ask questions so forgive me if I'm in the wrong category. Ok, the pc is a laptop (HP Elitebook 8460p, i5-2520m CPU 2.50GHz, 4GB RAM, Crucial 240GB SSD) running Win 7 Pro 64. Now I've scoured the net and can't find a single post with my unique problem. My laptop seems to work great in every way untill I start using it on battery power. The bat charges fine and holds a good charge. It'll runn for hours on that charge too so I don't see that as a sourse of the isue. …

Member Avatar
Member Avatar
+0 forum 28

guys! Im new in PHP and im developing a small website wherein there's many images on the page and when i click one of the image it must be shown into another page with full details.. but the problem when i click one of the image it shown's nothing! I tried to use $_SESSION[]; but I can't get the logic how to properly use it.. thnx.. please help..

Member Avatar
Member Avatar
+0 forum 11

Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index txtWatchId.Text = DataGridView.Item(0, i).Value txtWatchBrand.Text = DataGridView.Item(1, i).Value txtWatchModel.Text = DataGridView.Item(2, i).Value txtManufacturer.Text = DataGridView.Item(3, i).Value End Sub[/code] Please help

Member Avatar
Member Avatar
+0 forum 22

So my PC runs fine and boots Everytime but if I touch the top of the tower my monitor says no input until I soft reset it then it boots again no problem. But every time I touch the top it does this again. I know the monitor is good I've tried multiple and it does the same thing I'm hooked up through hdmi. Also everything inside the case (fans, CPU etc. ) Seems to still run when the display stops

Member Avatar
Member Avatar
+0 forum 2

Case - DIYPC Gamemax-W White MOBO - MSI Gaming Z97 RAM - CORSAIR Vengeance 16GB (2 x 8GB) CPU - Intel Core i5-4690K Devil's Canyon Quad-Core 3.5 GHz GPU - MSI GAMING GTX 960 4GB Cooling - Extreme performance CPU cooling with built-In Corsair Linkā„¢ 240m HDD - WD Black 2TB Performance Desktop Hard Disk Drive - 7200 RPM SATA 6 Gb/s 64MB Cache 3.5 Inch PSU - CORSAIR CX-M series CX750M Will bottom mount I recently built this pc after evertything was put together I started it up and it gave me a start screen. I did not have …

Member Avatar
Member Avatar
+0 forum 11

I was playing Dying Light and just paused the game for a bit and was eating. when come back the game had freeze, mouse too, nothing moved. Tried to collapse the screen of they laptop with the hope that it probably would resume the laptop in normal state of work. But it didnt work, so I Hold the power button till it shut down.. When I start it again, 3-4 little dots appeared on my screen (bottom left side of it). Those are very visible on white color a page, but darker when the page is in dark color. I …

Member Avatar
Member Avatar
+0 forum 3

HELP!!! No beep on my motherboard when i remove the RAM & HDD, i tried another RAM & HDD from another computer but still not working. I checked the RAM & HDD if its working on another, it works, i replace the wires(SATA especially) but nothing change,i also replace the PSU. still no Display. Help, i don't know whats the problem anymore, everything is working fine, it is MOTHERBOARD already??What should i do Next??

Member Avatar
Member Avatar
+0 forum 3

A short example of Pygame showing an image with a known internet url.

Member Avatar
Member Avatar
+0 forum 1

Hey guys.... M new to this forum... I have a compaq presario c700 notebook which is quite old..... when i press the power button the led lights turns on..i can here the fans spinning sometimes after 4-5 seconds the system turns off....and i switch it on again...the display remains black and nothing happens and the lights glow and the fan spins...i tried removing and putting bak the ram..it did not work Pls help.... Thanks in advance..

Member Avatar
Member Avatar
+0 forum 7

My laptop screen does not showing any display..lights are blinking bt nothing on my screen

Member Avatar
Member Avatar
+0 forum 3

i have a problem in showing two columns which is reff_number and Name in a combobox/select box, and now i can only display one column with it, if i have 9000 customer(in bahasa = pelanggan) , it will take an effort to find for user, and it will be easy if not only name but sho reff_number, please help me, thanks before select name="cmbclient"> <option value="blank"></option> <?php $datasql="SELECT * FROM pelanggan ORDER BY name; $dataQry=mysql_<select name="cmbclient"> <option value="BLANK"> </option> <?php $dataSql = "SELECT * FROM pelanggan ORDER BY name"; $dataQry = mysql_query($dataSql, $koneksidb) or die ("Gagal Query".mysql_error()); while ($dataRow = …

Member Avatar
Member Avatar
+0 forum 9

I'm working on an Anagram Finder program. One of the methods I'm writing introduces the concept of **recursive backtracking** which I'm completely new to. I'm hoping to get some suggestions of how this works/how to make it work. I'm trying to implement recursive backtracking in order to display a list of words from a dictionary text file to form anagrams for an input phrase. Here's what I have so far: public void printAnagrams(String phrase, int max, List<List<String>> anagrams) { if (anagrams == null) { throw new IllegalArgumentException(); } else if (max != 0) { System.out.println("..."); } else System.out.println("..."); for (List<String> …

Member Avatar
+0 forum 0

For example, In VB 6.0 - Object Browser If we click on any Classes or Members down side it will show multi line text. How can i do that?

Member Avatar
Member Avatar
+0 forum 5

hi all, pls help... this is my code from where i can select multiple values and post... but it is not displaying the selected values in multiple dropdownlist... how can i solve this???? <?php $loc_con1 = array(1=>'ALL','Andaman and Nicobar Islands','Andhra Pradesh', 'Arunachal Pradesh','Assam', 'Bihar','Chandigarh','Chhattisgarh','Dadra and Nagar Haveli','Daman and Diu','Delhi','Goa','Gujarat','Himachal Pradesh','Jammu and Kashmir','Jharkhand','Karnataka','Kerala','Lakshadweep','Madhya Pradesh', 'Maharashtra','Manipur','Meghalaya','Mizoram','Nagaland','Orissa','Pondicherry','Punjab','Rajasthan','Sikkim','Tamil Nadu','Tripura','Uttaranchal','Uttar Pradesh','West Bengal'); $i=0; ?> <select name="loc_considered[]" multiple="multiple"> <?php for($j=1;$j<=(count($loc_con1)-0);$j++) { if($loc_con1[$j] == $loc_con[$i]) { echo '<option value="'.$loc_con1[$j].'" selected="selected">'.$loc_con1[$j].'</option>\n'; $i++; } else { echo '<option value="'.$loc_con1[$j].'" >'.$loc_con1[$j].'</option>\n'; } } ?> </select>

Member Avatar
Member Avatar
+0 forum 4

XML - <?xml version='1.0' encoding='UTF-8'?> <Form name='Demo' id='DemoID' searchname='Demo' search='Demo' org='Yes' > <Field name='IdentificationNumber' datatype='String' control='InputText' length='10' search='Yes' /> <Field name='Country' datatype='String' control='InputText' length='50' search='Yes' /> </Form> PHP - <!DOCTYPE html> <html> <body> <?php $xml=simplexml_load_file("Demo.xml") or die("Error: Cannot create object"); echo $xml->FIELD . "<br>"; ?> </body> </html>

Member Avatar
Member Avatar
+0 forum 1

The End.