Search found 6 matches

by nandakishor
Mon Jan 07, 2013 9:29 pm
Forum: PHP coding => General
Topic: Displaying a selected excel file's content in to a webpage
Replies: 1
Views: 1765

Displaying a selected excel file's content in to a webpage

I am sorry, If I am asking a basic question.. I am working for a project where I need to give a upload and submit option for client. In that client will browse the local path and selects required "EXCEL" file and if they click to submit, then the content should be displayed in the webpage.. these ar...
by nandakishor
Fri Aug 31, 2012 1:21 am
Forum: Other Database Engines
Topic: How to display a image from postgreSQL using php
Replies: 1
Views: 2644

Re: How to display a image from postgreSQL using php

I got this code and it is working fine... $conn = pg_connect("user = postgres password = nkr@123 host = localhost dbname = ARKREJ"); $res = pg_query($conn, "SELECT photo FROM public.zdata_4326, public.zdata WHERE zdata_4326.gid = zdata.gid AND zdata.gid = 1;"); $raw = pg_fetch_result($res, 'photo');...
by nandakishor
Thu Aug 30, 2012 10:15 pm
Forum: Other Database Engines
Topic: How to display a image from postgreSQL using php
Replies: 1
Views: 2644

How to display a image from postgreSQL using php

I have Images in bytea form in PostgreSQL/PostGIS database, i want to display them in a webpage using PHP - PostgreSQL. I got lot of examples and I worked out but not getting output from them... Few codes I have used. $conn = pg_connect("user = postgres password = nkr@123 host = localhost dbname = A...
by nandakishor
Wed Aug 08, 2012 3:24 am
Forum: PHP coding => General
Topic: How to fetch data into drop down menu from postgres
Replies: 0
Views: 544

How to fetch data into drop down menu from postgres

I have created a drop down menu, and I want to fetch data into that. The postgres tables are like, Spatial Tables DISTRICT distco(pkey), district, shp_area, shp_length,the_geom. TALUK talukco(pkey), taluk, distco, district, shp_area, shp_length,the_geom. VILLAGE villageco(pkey),village, talukco, tal...
by nandakishor
Tue Aug 07, 2012 5:00 am
Forum: Other Database Engines
Topic: problem in accessing postgres database
Replies: 1
Views: 1622

problem in accessing postgres database

I am very new to PHP, I want to access postgres database using php script. I checked php installation and is working fine. Also I enabled pgsql.dll in php.ini. But I dont know why my code is not working.. here is my code. <? //header("Content-type: text/xml"); $conn = pg_pconnect("host=localhost dbn...