39,326 Topics

Member Avatar for
Member Avatar for amith_ami

hi..all.. im a newbie to wordpress im using beauty spa theme... but it doesn't support the plugins.. and it also adding the characters like "#!" in the url when i click on the links. when i removed custom.js from the footer.php the plugins working fine but other functions not working …

Member Avatar for veedeoo
0
191
Member Avatar for 03hasnam

I used the folowing website towards the end of the website http://zetcode.com/databases/sqlitephptutorial/ to make a connection to the sqlite database using PHP. Working on netbeans and have imported the appropriate driver and jar files however clicking submit on html is not doing the job and simply prints the whole php …

Member Avatar for TonyG_cyprus
0
212
Member Avatar for Navlag

Hello, I am just playing around with PHP and I have a silly little little login page, with the username and password hard coded in (not secure, I know). They are: username and password, respectively. Once logged in, there is a message saying I am logged in and a form …

Member Avatar for Navlag
0
307
Member Avatar for janskey15

Pls help me with this code.. <?php include "dbConfig.php"; if ($_GET["op"]=="login") { if (!$_POST["FullName"] || !$_POST["StudentID"]) { die("You need to provide a username and password."); } $q = "SELECT * FROM `register` WHERE `FullName`='".$_POST["FullName"]."' AND `StudentID`='".$_POST["StudentID"]."' LIMIT 1"; $r = mysql_query($q); if ($obj = @mysql_fetch_object($r)) { $_SESSION["FullName"] = $_POST["FullName"]; $_SESSION["StudentID"] …

Member Avatar for LastMitch
0
256
Member Avatar for LastMitch

Hi I want to create a simple calendar on Smarty. I attached an image on how it looks so far. Here is my code **calendar.php** file: <?php require("libs/Smarty.class.php"); $smarty = new Smarty(); $date = "1/01/2013"; //January 01, 2013 $week_days = array("Sun"=>1, "Mon"=>2, "Tue"=>3, "Wed"=>4, "Thu"=>5, "Fri"=>6, "Sat"=>7); $total_day_of_month = get_total_day($date); …

Member Avatar for LastMitch
0
567
Member Avatar for idzone

How to Scanning RFID Serial Number with PHP code, and then the serian number will be show in html text box

Member Avatar for Bachu
0
37
Member Avatar for gaspan

Hello masters It is possible to connect two different database system like(sql server and mysql) at the same time in the same script? If yes can you give me some tips of what procedure I'm going to use. If no then thanks for reading my threads. ///////////////////////////////////////////////////////////////////////////////////// Because i have …

Member Avatar for diafol
0
1K
Member Avatar for Aditya1991

I have my `$arr` of key value pairs like this: array(7) { ["No"]=> string(6) "101" ["Paper_id"]=> string(6) "WE3P-1" ["Title"]=> string(80) ""An Electrically-Small, 3-D Cube Antenna Fabricated with Additive Manufacturing"" ["Author"]=> string(13) "NassarIbrahim" ["Auth_order"]=> string(9) "WE3P-1-01" ["Aff_list"]=> string(51) ""University of South Florida, Tampa, United States"" ["Abstracts"]=> string(723) ""This paper presents the …

Member Avatar for diafol
0
237
Member Avatar for sagisgirl

i wanna add date in my form.. so i do with my code like this $sql_updTenant = "UPDATE md_tenant SET modifieddt = '".date('Y-m-d H:i:s')."'"; and in my php.ini, i already change this: ; Defines the default timezone used by the date functions ;date.timezone = to this: ; Defines the default …

Member Avatar for sagisgirl
0
174
Member Avatar for hayatuzair

Hey everyone, I was randomly trying to develop a web browser that works in php. I know this is a really small program if you look into it but I dont seem to get it to work. though I have worked it out, but I cant get it to display …

Member Avatar for NardCake
0
218
Member Avatar for bradly.spicer

<?PHP $time = $_POST['Time'];//The things in the [] can be anything you want, but remember these for later $xp = $_POST['X']; if($time <= 0) $time = 0; if($xp <= 0) $xp = 0; $db_handle = mysql_connect($server, $user_name, $pass_word); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL = "SELECT * FROM …

Member Avatar for bradly.spicer
0
169
Member Avatar for richprich

Hi, I have an API script provided to people fetching data from my website. Other than stats information, how can I get to know that which websites are connecting my website's API? Any php function that I can include in my API script to get their domain names then insert …

Member Avatar for richprich
0
150
Member Avatar for OsaMasw

Hello there, I've created an upload system with PHP and its working fine but I need to improve it by using jquery, I need only a progress bar for uploading operation I don't have **apc** installed on server and can't tell the server owner to install it for me is …

Member Avatar for OsaMasw
0
178
Member Avatar for eyeda

Hye guys, sorry, can anyone let me know why this code is not function in IE,but it doing great in chrome. Thanks in advance! ;) <?php //include("Connection.php"); backup_tables('localhost','root','1234','leave'); /* backup the db OR just a table */ function backup_tables($host,$user,$pass,$name,$tables = '*') { $link = mysql_connect($host,$user,$pass); mysql_select_db($name,$link); //get all of the …

Member Avatar for LastMitch
0
142
Member Avatar for ssfreaky

Hi, I am a site owner with zero php experience. I have accidently deleted one letter from a header script and it caused my site to crash. I need desperate help. It shows Parse error: syntax error, unexpected T_STRING in /home/spark496/public_html/www.sourcetutoring.com/wp-content/themes/directorypress/header.php on line 152. Can any expert please help? This …

Member Avatar for widi05
0
359
Member Avatar for eyeda

Hi guys! Is there anyone can help me to do import and export database from my sql? i don't have any idea how to do it. I don't want to do it manually which is using phpmyadmin. So, i want to make it easy only by click the export button. …

Member Avatar for LastMitch
0
507
Member Avatar for cristian.stilpeanu.3

Hello I have a website and have some problems whit index of him on google search.I wish indexing my site with several under it, not sure how to explain but I will put a picture below so you can understand more easily. Thank you! If there is any method relies …

Member Avatar for TonyG_cyprus
0
93
Member Avatar for garyjohnson

I am trying to make an array which has a random selection of database results in it. This is what I have so far, <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("photos", $con); $query="SELECT album FROM albumname ORDER BY RAND() LIMIT 9"; $result= …

Member Avatar for garyjohnson
0
3K
Member Avatar for sagisgirl

hi...im a newbi in php..so i really in need of help.. i got an error like this : Query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SELECT …

Member Avatar for sagisgirl
0
161
Member Avatar for cheelo007

I have a site that has categories of images generated from the database, I am trying make it so when the user selects a category, the query is based off of that selection and the respective images load. Is that something that can be done? Here is my current code. …

Member Avatar for cheelo007
0
200
Member Avatar for cheelo007

Is there a service available to have someone translate your code from mysql to PDO or Mysqli? Pay service or free. I just know I'm in over my head. Thank you.

Member Avatar for cheelo007
0
175
Member Avatar for appointmen

Hello guys , i am new around here.Need help with one script its for movie's web site, i need to add more than one picture in database. The code is: <?php @mysql_connect($host,$user,$password); @mysql_select_db($db); @mysql_query("SET CHARACTER SET cp1251") or die( "Не мога да избера БД"); if(isset($_POST['submit'])){ $kategoriq = htmlspecialchars($_POST['kategoriq']); $seriq = …

Member Avatar for appointmen
0
318
Member Avatar for hayatuzair

Hey guys, Does anyone know a good script out there that could be used for hosting scripts? Like for example you can have a look an Ning.com SocialGo.com and Grou.ps . You signup with them and they give you a sub directory with another social netwprking script inside it. Currently …

Member Avatar for hayatuzair
0
152
Member Avatar for NoUserNameHere

I'm trying to get the hang of PDO and I can't seem to get this to work. I'm tyring to insert some data into a databse, but nothing shows up when I click submit. What am I doing wrong? <?php require 'connect.php'; if (isset($_POST['username'], $_POST['password'])) { $username = $_POST['username']; $password …

Member Avatar for LastMitch
0
112
Member Avatar for Sunday1290

Hey Guys, I found some code from a fellow I used to work with and am trying to dissect what it all means.(b/c im trying to build a similar application). Anyways, I'm pretty much a rookie when it comes to programming; I've really only been doing it for about 3 …

Member Avatar for LastMitch
0
104
Member Avatar for garyjohnson

Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks …

Member Avatar for garyjohnson
0
528
Member Avatar for BrickZ28

Hello< i am having an issue with IF statements displaying the right data. Im selecting from my databse the userlevel an depending on the number access they have it will show verbage as opposed to the number. Easy enough a simple IF statment and bam. SO I test it with …

Member Avatar for BrickZ28
0
144
Member Avatar for rk4php

I am saving user's images as blob in database. problem is that after retrieving that blob image,i want to save it in a temporary location of web server and from there i want to apply some business logic. please anybody help me to solve this. Thanks in advance

Member Avatar for diafol
0
8K
Member Avatar for giovannitao

Hello, My weather station software produce an XML file with live info about temperature, Wind, etc. It is possible grab this info to mysql db every 5 minutes and organize for day, month and year? Thanks

Member Avatar for pritaeas
0
63
Member Avatar for azgold472

Hi there I have the following code. <script language="text/javascript"> banner1 = new Banner('banner1'); <?php $con = mysql_connect("localhost:3306","User","Pass"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("barndata", $con); $today = date("Y-m-d"); $result = mysql_query("SELECT * FROM event where Date >= '$today' ORDER BY Date ASC LIMIT 0, 7") ; …

Member Avatar for diafol
0
144

The End.