39,320 Topics
| |
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? | |
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 … | |
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 … | |
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) … | |
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 | |
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 … | |
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 … | |
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 … | |
<!-- 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. … | |
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. … | |
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 … | |
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 … | |
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 … | |
i need a code for php changing image in every 2 hours at a time ... | |
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 … | |
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); … | |
$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. | |
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.? | |
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 … | |
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 | |
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' => … | |
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 … | |
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 … | |
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 … | |
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 … | |
`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 … | |
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 … | |
I have a mysql database that has previously stored the text of an xml file including tags. I want to select that data from the database and return it as an xml file rather than just text, (eg filename.xml). It is to be further processed with a javascript file which … | |
My loader is not working while form submits, how to solve that? | |
hey guys I hope you doing well :P am working on simple graphic script which gather some information and write it on image then show it to the user on localhost the project run perfectly as it supposed to do. when I uploaded to live server ( free hosting servers … |
The End.