39,323 Topics

Member Avatar for
Member Avatar for thatsnotmyname

in my database I have table called memory and it have images , description and title I want to display the image like how online shop display their products (eg: http://www.houseoffraser.co.uk/Women%27s+Tops/310,default,sc.html) I was thinking of using grid or table but I don't know which is better I also want to …

Member Avatar for diafol
0
563
Member Avatar for AntonyRayan

Hi, I need your help to zoom a place when click a marker in Leaflet. I used this code from http://leafletjs.com/reference.html#control-zoom map.on('click', function(e) { alert(e.latlng); }); this click event not working

0
155
Member Avatar for ravoras

Hey Guys, So using a webform textarea I am passing some data into PHP. This data is basically 4 columns of an excel sheet and potentially unlimited rows. Now I want to be able to go through this data, select each of the four individual elements from each row, insert …

Member Avatar for skradoslav
0
4K
Member Avatar for CreatorZeus

im starting to play with html5's new media stuff but i can't quiet figure out how to send a songs info to play in a iframe. any hints?

0
161
Member Avatar for Stefce

I want to make dynamic search button i have this code but doesnt work it gives me this error `Could not connect to database. Fatal error: Wrong SQL: SELECT * FROM kladilnica WHERE Location = Macedonia AND Uplata = 50 AND Liked = 50 Error: Unknown column 'Macedonia' in 'where …

Member Avatar for hericles
0
269
Member Avatar for thatsnotmyname

my web application is really simple there are two buttons one called "save" and the other called "show my images" basically the user can save images from facebook API and store them in the server folder called "backup" (to back up their images on the server so if they deleted …

Member Avatar for broj1
0
224
Member Avatar for tqmd1

Sir I have following codes to create table <?php function create_table(){ $query = "CREATE TABLE IF NOT EXISTS country ( id INT(6) not null AUTO_INCREMENT PRIMARY KEY, name VARCHAR(30) NOT NULL, reg_date TIMESTAMP)"; $host = "localhost"; $db = "mysql"; $user = "root"; $pass = ""; $conn = mysqli_connect($host, $db,$user, $pass) …

Member Avatar for Stefce
0
398
Member Avatar for WmsuUser

Im a newbie and i am a student and new to php could anyone teach me how to upload image to database and view it.Please Help me or send the link for complete tutorial

Member Avatar for FarrisFahad
-1
186
Member Avatar for Seung Hwan

I want to draw trace of car and mark and infowindow by using googlemap api and php. when I write url like "http://maps.google.com/maps/api/js?v=3&sensor=false", after "//", it's just comment not url and it occurs File does not exist: /var/www/maps.google.com problem... I tried $aa = "http:/"; $bb = "/maps.google.com"; $aa.$bb/maps/~~~ but not …

Member Avatar for hericles
0
224
Member Avatar for Anand_6

I want to download "Bhavcopy.cvs" file form "bseindia.com" on everyday at 5 pm. automatically. So, I want php code that automatic download this file from "nse" website... Please help.. The URL goes as follows http://www.bseindia.com/download/BhavCopy/Equity/EQ140316_CSV.ZIP I want to build an automated function to automatically upload reports from a URL at …

Member Avatar for hericles
0
532
Member Avatar for dawbin

I'm trying to display an image on an HTML page using a PHP script in the image/src tag, but the image is broken. When I hard-code the output of getimage.php into the HTML it shows up just fine so I know the base64 encoding is correct. The page that shows …

Member Avatar for Tpojka
0
1K
Member Avatar for Aeonix

<!-- example --> <html> <head></head> <body> /* Lots of contents, header, etc. <?php if (isset($_GET["id"])) { echo $anexample[$_GET["id"]]["test"]; } ?> </body> </html> There would be links that would say `example.php?id=1` and `id=5` and `id=9`. However I'd like page to rerender just that particular place. Nothing else in page will change. …

Member Avatar for invisal
0
272
Member Avatar for TheFearful

Hey everyone, I decided to do a lot of echos to make a letter for different selections based off the user. Everything works well except that when the user selects one of the options, two different letters are shown on the page and it's only for one of the options. …

Member Avatar for TheFearful
0
303
Member Avatar for fflime

I want to make countdown timer in multiple choice. I want to display question one by one. But when I click next for the next question, the time is start from 10 minutes again, not continue. How to make an alert if the time was over, it would be directly …

0
132
Member Avatar for SpottyBlue

Hi, I need help with the attendance form. I’ve changed the coding in the attendance form (index.php). When I tried to update the first row, nothing happened. For the last row, the message says, "**We couldn’t update the attendance form at this time**." Please check lines 96 and 101 to …

Member Avatar for SpottyBlue
0
245
Member Avatar for James_43

Hi all, I've been trying to create a friendly time function for a while, it's purpose should be quite obiovus from the code below. Currently, it outputs "expired" for everything. I am so utterly confused from visualising the code and trying to figure out where the times lie in relation …

Member Avatar for James_43
0
307
Member Avatar for infoitmanoj
Member Avatar for McAdams12

I need help creating a database for my website. I want the user to be able to sign into their personal account and add comments, have their own profile page, and add friends. My friend is creating a Garry's Mod (video game) server and I was gonna design the website …

Member Avatar for hericles
0
241
Member Avatar for thatsnotmyname

I've been working on some IG API and when I try to get the IG username I get this error I just don't see anything wrong with my code did I miss something ?? ( ! ) Notice: Undefined index: user in C:\wamp\www\folder\index.php on line 39 <?php set_time_limit(0); ini_set('default_socket_timeout', 300); …

Member Avatar for hericles
0
418
Member Avatar for arda_1

$handle = fopen("mytext.txt", "r"); echo fread($handle,filesize("mytext.txt")); echo preg_match("/[0-9]/","",$handle); fclose($handle); I want to open a text file and find how many digits are there in the text. I tried to use preg_match but I think this is not correct way to do it.

0
89
Member Avatar for josh.sm

I started new Ecommerce website ..developed in php.(codeigniter)..and it is SEO friendly but we are in only gifting category .but any one please suggest me how attract people to our website.?

Member Avatar for jacks009
0
197
Member Avatar for Jatinder_1

I am retrieving images from database, Now how can i link dynamically images to their url which are also stored in same table, image coloum is adv and url coloum is adv_url , Moreover i dont want to see the url , when i click the image it should go …

Member Avatar for jacks009
0
441
Member Avatar for AntonyRayan

Hi, I need your help to plot multiple locations from mysql table using latitude and longitude and I want to display a particular location in different color using google map or any other

0
124
Member Avatar for Marco_4

Hello, how can I extend the login session in my class? public function login($username, $password){ $this->db->query("SELECT * FROM users WHERE username = :username LIMIT 1"); $this->db->bind(':username', $username); $row = $this->db->single(); $count = $this->db->rowCount(); if ($count > 0) { if (password_verify($password, $row['password'])) { $_SESSION['session'] = array( 'id' => $row['id'], 'username' => …

0
110
Member Avatar for TheFearful

Hey everyone, I have been trying to send a test email before I do any further development and can't see to figure out why I am getting this error Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use …

Member Avatar for rproffitt
0
196
Member Avatar for TheFearful

Hey everyone, I have a question and I am not sure if it's possible or not to do it with what I'm using. I am using HTML, PHP, JavaScript, and mySQL to make a web page that pulls information from a Database. After that, I want to have a dropdown …

Member Avatar for TheFearful
0
578
Member Avatar for Stefce

Hello everone, i have a `teams.txt` file there are soccer clubs every team on new line i want to split the country from the club when is inserted into database. The country is the last string ex. `FC Barcelona (Spain)` `Arsenal (England)` Any help will be appreciated. I have tried …

Member Avatar for RudyM
0
195
Member Avatar for facarroll

I have a MySQL database which contains a text field which contains well formed xml. I want to export this data as an xml file named result_new.xml on the fly. I have made the tmp folder and have set the permissions on the folder to 0777. If I run this …

Member Avatar for facarroll
0
1K
Member Avatar for sukumar paul

`Inline Code Example Here`Hello friends, I am building a multidimensional array with the following code: `Inline Code Example Here` the example code is $Questions = array( 1 => array( 'Question' => 'CSS stands for', 'Answers' => array( 'A' => 'Computer Styled Sections', 'B' => 'Cascading Style Sheets', 'C' => 'Crazy …

Member Avatar for sukumar paul
0
2K
Member Avatar for TheFearful

Hello everyone, I am learning PHP with mySQL and I want to know if it's possible for me to do a dynamic dropdown box(which I have) that will automatically fill in fields below it such as a textbox. If I select a userID from the dropdown, that selection will fill …

Member Avatar for hericles
0
254

The End.