39,388 Topics
![]() | |
Hey all, cant get this very very simple query to work but I have been going 26 hours and my thoughts are numb. Please assist? I have error reporting on and request mysql errors but I'm getting nothing. Contents of config.php $db_host = 'localhost'; //IP of database server (most likely … | |
Hi everyone, I would like to ask a question about MySQL. Say, I have a database like this: database 1: articles |- id |- title |- description database 2: tags |- id |- articleID |- tag I needed to search from articles.description and tags.tag and while doing so, the searched … | |
> Hi guys, how to get **date modified** document in process upload? ex: test.txt 30/11/12 02:13 how to get this date **30/11/12 02:13** while upload this document? > i've try like this but the result not matching with real date modified $filename = $_FILES['uploadedfile']['name']; echo date("d m Y H:i:s",filemtime('/' . … | |
Hi Guys, I'm starting on a new project, it's a login page, let say I have a sql column[dateReg], it is the time the user registered or change his password, then everytime he login, I want to compare his login date to the dateReg and if the next time he … | |
This site was made by a previous designer and the client needed some updates. The header and nav were an image file before and I recreated them as include files with CSS. I have tried different variations to input the includes and it still not showing up live. Here is … | |
I run a text based game and I am having some trouble. I have a hospital section of the game where if you loose a fight you go here for a period of time. Now you see the time is supposed to go down say if you go to the … | |
Hi I have modified the dropbox script with the following <script type="text/javascript"> $(function(){ var dropbox = $('#dropbox'), message = $('.message', dropbox); dropbox.filedrop({ // The name of the $_FILES entry: paramname:'userfile', maxfiles: 10, maxfilesize: 50, url: '<?php echo base_url();?>ajax/post_file.php', uploadFinished:function(i,file,response){ $.data(file).addClass('done'); // response is the JSON object that post_file.php returns }, … ![]() | |
I'm new to php and im running xampp and the apache server is running, i created an html (phptext.html) form below which inputs the user's name and sends it to a php file called phptext.php. now the problem i'm getting is the html form sends data to the php file … | |
So, I have a small site for the highschool I'm currently in, a pretty simple site connected to MySQL for a simple HelpDesk app (I used a lot of scripts that I found here to make the site work, thanks for the contributors btw!!), and some useful links for school … | |
I got everything working on the edit information page even the delete picture and insert a new picture. However when I delete or insert a picture, every field in the details table dissapears, if it turns out to be a field that is editable then it gets replaced with a … | |
***Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/crysta21/public_html/hospital.phpon line 53*** <?php /* MCCodes FREE hospital.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the … | |
I have an array having unique 'table_id' that will find 'parent_id' and goes under parent index. My Array: Array ( [0] => Array ( [table_id] => 7 [table_name] => Macro [parent_table] => 1 ) [1] => Array ( [table_id] => 4 [table_name] => Dise [parent_table] => 7 ) [2] => … | |
is it possible in php java scrip and jquery that we give a condition and redirect page to another pages on depending on those condition like if($id==1) { header(location:page1.php); } else { header(location:page2.php); } the value of id comes from database. something like that using jc jquery enything please help … | |
Hi there, I'm trying to send the binary representation of data through a PHP socket. So if the number was 15, socket_write would send 00001111 as binary representation for 15. How should I do this? | |
<?php session_start(); include("connection.php"); $id=$_SESSION['id']; ?> <!DOCTYPE html> <html class="beautiful js " xml:lang="en" lang="en"> <head> <link href="120gb_files/index_packaged.css" media="screen" rel="stylesheet" type="text/css"> <title>mackbook_how to find</title> </head> <body> <form method="post"> <div class="box"> <div class="button"> <select id="screen_size" class="fancy" style="border:1px solid #ccc;" > <option selected="selected" value="">Screen Size</option> <?php $sql="select * from `mackbook`"; $result=mysql_query($sql); while($row=mysql_fetch_array($result)) { ?> … | |
hello, i have a basic code, and i want to fetch a data from mysql using PHP, and display in my html page; i just want to have a basic idea so i can add more details later on, like data of birth, nationality, profession etc. im planning to make … | |
hello guys, how can i display the data from php mysql with text decoration for example underline or a dotted line css/html? thanks. | |
i just started reading how to connect ur cart to paypal. i get the main idea but when i hit paypal buy button. data doesnt tranfer. so on paypal site it alway say to have 0 items in ur cart. <?php ... $x=1; $pp_checkout_btn = ''; $pp_checkout_btn .= ' <form … | |
Hey everyone, I was under the inpression that PHP would refresh dynamically and not necessarily the whole page. When I make forms in PHP I am noticing the entire page gets refreshed before the new content is displayed. this is the oppsite of what I am trying to acheive. If … ![]() | |
![]() | I have this code to parse XML file I need to take elements "Name" and write them all to csv header (from every product in XML) with rest of the XML data, but I need values to be as data in csv For Now I can write just header, but … ![]() |
hi i have some data in mysql db and i need to create a page where i have a dropdown down box with different categories. when a user select a category from a the drop down it will show data form the mysql table from that category. so how can … | |
i dont even know how to title this subject. curious how i would go about inserting data from an array file i have name array.php into my cgi. i have a set of links at the bottom, and i change one of the anchors depending on the season #summer, #fall … | |
Hello, I was following series of tutorials http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ 5 part is not finished yet. BUt I 4 parts are done. In 5th part there is written about .net, but I want to use php. The problem is - application worked fine when I was not using php - only html … | |
Hello, I have just completed a rather large project which involved data that was less than optimal html wise. Our biggest problem currently is that we have a structure like this: <ul id="postblockinfo"> <li>List One</li> <li>List Two</li> <li>List Three</li> <li>List Four</li> <li>List Five</li> </ul> Text that is suppose to be … | |
Hi, I am planning to create location tracing based on IP and presenting the relevant contents to the user as par his country, similar to msdn website. I have installed the php_geoip.dll and change the ini file too, to include this dll The dll shows enabled in IIS as well, … ![]() | |
Please I'm looking for a specific solution where php can get some certain pdf files from a folder that contains lot of pdf files and display them in a small thumbnail-like on a web page and click on a particular thumbnail would show the big pdf file on thesame web … | |
I am having the form.php file- <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? … | |
How to Convert number from digits to words into two languages **English language** and **Marathi language** Is it possible using php? Can anybody help me? | |
I have a file login.php <?php session_start(); include_once "../lib/opendb.php"; include_once "products_make.php"; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $email= $_GET['email']; $pswd= $_GET['pswd']; if ($email=="admin") { $arr['id']=0; $arr['judge_name']="Administrator"; $_SESSION['gVars']=$arr; if ( $pswd == "2755") { $arr['status']="admin"; } else { … | |
I am using jquery.filedrop.js to create a HTML5 drop box for users. Currently I have it working about 2/3s the way I want it to. The company does yearly conferences, and I have a file path 'file/path/to/conferencefiles' where I save media (docs, images, vids, etc) based on the YEAR of … |
The End.