39,326 Topics

Member Avatar for
Member Avatar for tarwara

I have a domain at shared hosting which I have mapped to a folder in public html (public_html/INSURANCEGEO). Now I have created a subdomain also loacated in public html (public_html/life). Site's Header and footer files are there in 'includes' folder within my domain folder (public_html/INSURANCEGEO/includes). I am trying to include …

Member Avatar for tarwara
0
189
Member Avatar for jakizak

Hi everyone, Let me first explain the idea: I have a JSON document which has the following structure: { "timeline": { "headline":"Example Content", "type":"default", "text":"Example Content", "startDate":"2013,1,1", "endDate":"2013,1,28", "date": [ { "startDate":"2013,1,10", "headline":"Example Content", "text":"Example Content", "asset": { "media":"Example Content", "credit":"", "caption":"" } }, { "startDate":"2013,1,14", "headline":"Example Content", "text":"Example Content", …

Member Avatar for AleMonteiro
1
161
Member Avatar for Franklinugo

Please, someone in the house should help me with a solution on this: Warning: include_once() [function.include]: Failed opening 'includes/form_function.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\widget\edit_subject.php on line 14

Member Avatar for pritaeas
0
70
Member Avatar for moninda

<?php session_start(); include("header.php"); include("conection.php"); include("modal.php"); if(isset($_SESSION["userid"])) { if(isset($_GET[first])) { } else { $_GET[first] =0; $_GET[last] = 10; } if(isset($_POST["button"])) { $resultac = mysql_query("SELECT * FROM examination"); echo mysql_num_rows($result); } else { $result = mysql_query("SELECT * FROM examination LIMIT $_GET[first] , $_GET[last]"); } $result1 = mysql_query("SELECT * FROM course LIMIT $_GET[first] …

Member Avatar for pritaeas
0
209
Member Avatar for riseguim

Hi everyone, Ok so let me start by saying I am COMPLETELY new with MySQL, I have only tried to use it for the first time hours ago. This might be an easy one for you guys... Here's my code: <?php // Grab User submitted information $email = $_POST['users_email']; $pass …

Member Avatar for rsewak
0
387
Member Avatar for nunuaziz_

I recently just found out about Facebook's Notification API. However, I do not know where to place the codes at... Can anyone enlighten me where to place the codes? Your help is greatly appreciated! (:

Member Avatar for <M/>
0
92
Member Avatar for Echo89

Here is a fully working PHP page viewer, set the variables $pages[] = "ANY URL HERE"; to suit your needs, and change the variable $max = 10; to however many views you want for each $page. -Echo

Member Avatar for Echo89
1
450
Member Avatar for ebanbury

Hi I have the following script to upload an image to the server. Instead of the script producing a unique name for the image, I actually want to just replace one image with another..ie. overwrite an image which is already there, with another of the same name. I'm getting a …

Member Avatar for ebanbury
0
200
Member Avatar for Alok001
Member Avatar for vikaspa

Dear All gone through amny articles on uloading excel to mysql excellent code in http://phpexcel.codeplex.com/ http://sourceforge.net/projects/phpexcelreader/ MY issue is i cannot upload following (this is cut and pasted from an excel file) where in t1 is actually t and subscript 1 opposite to (n² i.e. n and superscript 2) I …

Member Avatar for vikaspa
0
217
Member Avatar for JayJ

I have 3 tables that I wish to produce but I just cannot get my head around the logic for producing them. I'll try and explain the best I can. I have one table and the contents are as follows team | group A | 1 B | 1 C …

Member Avatar for JayJ
0
114
Member Avatar for ebc3142

Hi, I'm trying to insert the contents of this this file (assets.txt) into my database: B02W0Y2^EUROSTAR LTD^35.09^^ B02V64S^NORTHERN ROCK^21.97^^ B06N3Q2^MOTOR OIL SAPA^7.24^^ B05WF50^COLT TELECOM GROUP^20.29^^ B03R2SA^XEROX CAPITAL^35.65^^ B09G3SD^COREALCREDIT^12.10^^ B04F5GD^ULSTER BK LTD^16.46^^ B02DH5H^EUROTUNNEL FINANCE^53.24^^ B05D3WK^BRADFORD & BINGLEY^18.07^^ B05DGEF^SKIPTON LTD^4.50^^ B07DHX4^EBAY INC^46.55^^ B08VEW1^FURSTENBG CAP^86.36^^ B06HS34^LBG CAPITAL^54.22^^ I'm using this code: mysql_connect($mysql_hostname,$mysql_user,$mysql_password); $sql …

Member Avatar for cereal
0
149
Member Avatar for aoi.serizawa.9

hey guys im trying to compare 2 num_rows the append the result on the $data array then access it via ajax. $get_section = "SELECT * FROM section a LEFT JOIN advisory_sections b ON(a.section_id = b.section_id) LEFT JOIN school_faculty c ON (b.faculty_id = c.faculty_id) WHERE a.school_id = '$school_id' ORDER BY section_level …

Member Avatar for LastMitch
0
151
Member Avatar for dahunsiweb

I need to integrate sms to my php project, i want the user to get an sms on his mobile immediately he got to the welcome page. I had created a registeration form and a form for phone number, my sms gateway is something like this http://index.com/smsapi.php?username=joe&password=something&sender=sendername&recipient=12345678&message=Youarewelcomeblablabla Please help, i …

Member Avatar for LastMitch
0
371
Member Avatar for alanlee9898

Hi, I'm having some problem about the qr code generator for file upload. This is the file that I'm using : https://github.com/aau-ell/qr-php-uploader When I upload a file, it's give me a string input rather than a QR image. Please help! Thanks.

Member Avatar for LastMitch
0
195
Member Avatar for drewpark88

First off, hey everyone just want to let you know I am still very novice when it comes to PHP. Ok so first I will tell you what I am using: I have created a donation form in php that is integrated with authorize.net. I have a processpayment.php that will …

Member Avatar for fourseason
0
260
Member Avatar for GlenRogers

Hi, I have this query to add data to mysql $query = "INSERT INTO products VALUES('', '$acode', '$aname', '$acontent', '$aprice', '$remote_file', '$cat')"; My table is id int(20) primary ai code varchar(200) product_name varch(200) description varchar(600) price decimal(10, 2) imagepath varchar(200) product_id int(10) I have an html textarea to enter data …

Member Avatar for GlenRogers
0
96
Member Avatar for AARTI SHRIVAS

<?php //session_start(); include("connection.php") ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Hedgeis-market</title> <link href="market css.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="jquery-ui.css"> <script src="jquery-1.8.3.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <!-- <link href="marnet_internal_css.css" rel="stylesheet" type="text/css" /> --> <script> $(function() { $( …

Member Avatar for diafol
0
549
Member Avatar for otengkwaku

<?php header('Content-Type: application/xml'); $tmpFile = 'tmpFile.txt'; $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; echo ($val); $curlHandle = curl_init($val); $filePointer = fopen($tmpFile, "w"); curl_setopt($curlHandle, CURLOPT_FILE, $filePointer); curl_exec($curlHandle); curl_close($curlHandle); fclose($filePointer); $linesArr = file($tmpFile); foreach($linesArr as $eachLine){ echo($eachLine); } ?> I don't know why this code is not working. Can someone help me

Member Avatar for diafol
0
327
Member Avatar for tibormarias

Dear Everyone, I am considering of starting a Smarty website. Does it worth it? Is it good? Does it have any disadvantages? Or any other personal notices? Tibor

Member Avatar for veedeoo
0
364
Member Avatar for syed.nouman.10

Hi all respected member i have a site is [fashplanet ](http://fashplanet.com)my simple question how i add a flash header in mys ites

Member Avatar for tomwatson2
0
43
Member Avatar for DamzWildfire

I was trying to loop through my database for some results and recieved this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hermes/waloraweb032/b867/moo.classiadsinfo/ajax/searchApp.php on line 8 and heres my code: <?php require_once '../connect.php'; if(isset($_POST['search_term'])==true && empty($_POST['search_term'])==false) { $search_term=mysql_real_escape_string($_POST['search_term']); $query=mysql_query("SELECT `Category`, `Type` FROM `autosuggest` WHERE `Category=.'$_POST[category]'` …

Member Avatar for broj1
0
423
Member Avatar for epicrevolt

I don't know where this thread fits, but since I need a new host for my PHP sites, I thought it would fit best here. So my current host seems to have like a 95% (at best) uptime, which is very bad. I want a host with at least a …

Member Avatar for giffy
0
415
Member Avatar for athulram

Hi, new to the forum. Im building a site where articles can be created by staff. So is it better to save articles as html files on the server with PHP's file access methods or simply store the whole source code with all the tags in a database (MySQL). It …

Member Avatar for runde.bustamante
0
191
Member Avatar for hudhasama

Hello there. This is what I'm trying to do. When user click at the firs drop down button which contain the location of the school, that button will retrieve data from database and it will appear at the same page of the button. The problem that I'm having right now …

Member Avatar for Biiim
0
107
Member Avatar for silent lover

i have form to get checklist from table checkbox. inside the table, there are list of emails. i want to get that email and bomb it. somekind of marketing email. please help me to solve this php form? php to send to all emails from the checklisted table. <form name="bomber" …

Member Avatar for silent lover
0
191
Member Avatar for nathanpacker

I don't understand what happened, I hadn't made any changes to this script, and all of the sudden, it's giving this error: [QUOTE]Notice: Use of undefined constant ID_my_site - assumed 'ID_my_site' in /path/to/my/script/changed/forsafety.com/login.php on line 90[/QUOTE] As you can tell from this error, I am trying to run a login …

Member Avatar for deceptikon
0
2K
Member Avatar for rosse88

Okay, so I am not entirely sure how to fix this. Im attempting to make a tag feature for my site but I am getting: Fatal error: Call to a member function prepare() on a non-object in /Users/Home/Sites/functions/users.php on line 10 Here is the code that relates to this. First …

Member Avatar for rosse88
0
247
Member Avatar for cristian.stilpeanu.1

Hi, i need help, who knows and wants to help me with a problem I would greatly appreciate. I downloaded a page to my site I instalato and work well only have one problem, anyone can access any without having to login, and must do so to be able to …

Member Avatar for diafol
0
541
Member Avatar for GraficRegret

I am working on an inventory system and here is what the page looks like, minus the pertinent confidential information that I am not allowed to show ![buttonProblems](/attachments/large/4/buttonProblems.jpg "buttonProblems") yes the information displayed is all mock data. however the problem lies in the buttons. On the far right of each …

Member Avatar for GraficRegret
0
88

The End.