39,323 Topics

Member Avatar for
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
370
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
258
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
95
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
548
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
326
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
362
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
414
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
190
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
187
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
246
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
Member Avatar for nunuaziz_

Im doing a reservation site for a project. And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date and a time, and radio button(s) would be disable depending on database. So far, I have this: $result=mysqli_query($mysqli,"SELECT tableselect FROM reserve WHERE reserveDate = …

Member Avatar for broj1
0
1K
Member Avatar for callumbagshaw

Hi guys, I've searched these forums and everywhere else... and I can't understand why this won't work when it works for other people... Here are my two error messages: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Assignment\inc\ManageStock.php on line 24 Notice: Undefined index: fileField in C:\xampp\htdocs\Assignment\inc\ManageStock.php …

Member Avatar for callumbagshaw
0
146
Member Avatar for Tinnin

My code so far: $message = '<html> <head> <title><?php echo $subject; ?></title> </head> <body> <?php echo '<table align="center" cellspacing="3" cellpadding="3" width="100"> <tr> <th align="left"><b>Player Name<b></td> <th align="left"><b>Number of Goals<b></td> </tr>'; while($row_GetCurMonthPlayerGoals = mysql_fetch_assoc($GetCurMonthPlayerGoals)) { echo '<tr> <td align="left">' .$row_GetCurMonthPlayerGoals['FRName']. '</td> <td align="left">' .$row_GetCurMonthPlayerrGoals['Sales']. '</td> </tr>'; } // Close the table: …

Member Avatar for Tinnin
0
346
Member Avatar for sainigks

Hello every one, i want to make a programme that read data from .xls file. a sql table will create on the basis of top row of the xls file, and rest rows will treated as data and inserted into the table. actually i am working for a office, their …

Member Avatar for pritaeas
0
221
Member Avatar for dbalas

Hi! Need help with conditional formatting of table rows... What i need to acheave is to change table row background in red if date_needed is <= than 48 hours than now(). This is what i have now `if (date('d',strtotime($data['date_needed'])) <= 2) $row["rowstyle"]='style="background:red"';` it works in a way... It changes background …

Member Avatar for dbalas
0
359

The End.