39,320 Topics

Member Avatar for
Member Avatar for amorastrid

Hi, I am trying to create a situation where I have: [code=text] Date 01.09 02.09 03.09 04.09 NAME Adam you -- -- PHONE 123 456 Date 01.09 02.09 -- -- NAME Paul Here -- -- PHONE 678 890 [/code] I can populate the days for the month of October (from …

0
47
Member Avatar for equatorlounge

wo, is there a way to create subdomains only through a php file ? like create a function call createsubdomain($username) or something? that would really be helpful in the sense that as soon as a user registers himself on a website, he gets to access hisname.thewebsite.com to access his full …

Member Avatar for equatorlounge
0
317
Member Avatar for lDeadeyesl

I have been messing around with adding sessions and I got everything to work. I can have users login, and it keeps track of all of their info through session_start(). However there is one strange thing that is bothering me. If someone is logged into the page, then if they …

Member Avatar for rajesh1158
0
128
Member Avatar for Sahilsahni

hi please if anybody here could help me, i wannna know ho to integrate First data global gateway shopping cart, if anybody have done it before and provide any manual step by step, am a developer, client have bought it, so if there is any sandbox to try it? or …

0
77
Member Avatar for tordolsen

Ive been around on the internet trying to find my answer, but I still haven't fond what I'm looking for. Just like Bono. This is the case: I got a form on internet which is sending information to a mysql table. (the form is called Processform and is made by …

Member Avatar for mschroeder
0
76
Member Avatar for amazed

Hi mysql_connect is not working though mysqli_connect is working. Both are enabled in configuration file. Please help. Thanks

Member Avatar for jogesh_p
0
114
Member Avatar for stonest123

Hi, I'm trying to post through a value of a button from a form on a previous page, and depending on the button that was pressed, an SQL statement will be executed and then a table will be created based on the result. However, when i try to do this …

Member Avatar for stonest123
0
151
Member Avatar for kasim.badami

Hi, Please help me if anybody has found PHP code for implementing Reddit.com API. I want API that can post on reddit.com through php code. Thanks in advance :)

Member Avatar for kasim.badami
0
264
Member Avatar for kasim.badami

I am developing a PHP sript that uses delicious API, i have almost done with it but while making a request to API (after creating oauth signature) i am getting following response. I am following the steps described on delicious support site. [url]http://www.delicious.com/help/oauthapi/[/url] [QUOTE]Please provide valid credentials. OAuth oauth_problem="unable_to_determine_oauth_type", realm="yahooapis.com" …

0
59
Member Avatar for facarroll

I'm not sure if this should go in the mysql forum of here, but probably applies to both. I've posted some php to show what's happening with my array and code to create the database below. I can make the JOIN query work, but it does not produce the data …

0
76
Member Avatar for jakizak

Hey everyone, new guy here, having an issue with a section of code... decided one day to just stop working, nothing was changed. the code is [code] $query = mysql_query("SELECT * FROM products"); while ($row = mysql_fetch_array($query)){ $productname = $row['name']; $productinci = $row['inci']; $productdescription = $row['description']; $functions = $row['functions']; $pid …

Member Avatar for jakizak
0
233
Member Avatar for znz

HI, guyz Wordrin if sum one could help! at the moment got code which allow user to input and display in result. but mean time wana allow user to **delete current input data **by providing delete button next to displayd data.......... plz could some one tell me how to,what commend …

Member Avatar for pritaeas
0
119
Member Avatar for nsam

Hi, I want to update one of my tables in a database, when the user checks the checkbox. I am running update query for the same.When I echo that query, I came to know that it is not taking the checkbox name .. Can someone please help me out with …

Member Avatar for vibhaJ
0
2K
Member Avatar for benhowdle89

[CODE] $datef = (date("Y-m-d",mktime(0, 0, 0, $_GET['year'], $_GET['month'], $_GET['day']))); $datel = (date("Y-m-d",mktime(0, 0, 0, $_GET['year1'], $_GET['month1'], $_GET['day1']))); echo $datef.$datel; $result = mysql_query("SELECT f8_0, n7_91, t_stamp FROM westdrayton WHERE t_stamp BETWEEN '".$datef."' AND '".$datel."' limit 20"); [/CODE] I have this PHP code to try and grab records from between the two …

Member Avatar for monica singh
0
105
Member Avatar for alexgv14

I want to build a application in codeignitor. Anybody, have any good ideas for something for me to build? At the same I was hoping I could create something maybe the developer community could potentially use. Just not sure what.

Member Avatar for aquilax
0
98
Member Avatar for kasim.badami

Hi this is a great script in PHP which checks number of pages indexed by google, yahoo and bing. This is an clean API and no search engines will consider it as an automated queries. Though currently in PHP you can use this with any language. [url]http://www.host.co.in/forums/f52/check-number-pages-indexed-google-yahoo-indexed-bing-indexed-1744/[/url] It's great pleasure …

0
108
Member Avatar for Danny247

I have an AJAX chat that I am trying to edit. Originally, the users are stored in a php file. I'm trying to make it get users from a database. Here's the original users.php file: [url]http://pastebin.com/mgbQjHyK[/url] Here's what I've tried: [url]http://pastebin.com/kXgVLuyG[/url] Can someone tell me what I'm doing wrong? [hr] …

Member Avatar for Danny247
0
172
Member Avatar for sajohnson05

I am trying to check for duplicates prior to insert. I am not able to insert into mySQL with the following code. Any help? [CODE]<?php # editout.php # Seth Johnson # Assingment 3 # ITEC 325 # perform update or insertion and then forward back to graform.php # where can …

Member Avatar for sajohnson05
0
147
Member Avatar for RossCode

Hello, hopefully someone can help me figure this out. I have 2 files that hold information based on properties and I have to try and generate a feed from both and relate them together. One of the files holds the images, the other holds all the information relating to the …

0
69
Member Avatar for changeco

I wrote this piece of code to pull out the count of users(rtnUser) subscribed to a class(CDID)... However, I get a count of '0'... I'm not sure if I have the variables reading correctly... I second set of eyes would be great... [code]<?php $cdid = $row_rtnUser['CDID']; $sql = "SELECT COUNT(CDID) …

Member Avatar for changeco
0
154
Member Avatar for jrhitokiri

I've googled and looked all around the web for an answer to this, but without any success. I am getting this error: Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/xxxinl5/public_html/xxx/content/.../.../submitter.php on line 1 And here's the code: [CODE] <?php /* * My Prog * */ require_once(dirname(__FILE__) . '/config.php'); require_once(dirname(__FILE__) . …

Member Avatar for jrhitokiri
0
3K
Member Avatar for Capt Spaghetti

I currently have two php files that I need to combine so I can eliminate the use of the "<a href" construct. The first file allows the user to enter a city and state to search for organizations. After entering the city and state the user is presented with a …

0
61
Member Avatar for spideyprasad

[CODE]$l="SELECT * FROM $tbl_name WHERE (OrderID = '" . mysql_real_escape_string($_POST['or']) . "')"; $sql = mysql_query($l) or die(mysql_error());[/CODE] Here OrderID is my table column. I am having two columns. Name is the first column and OrderID is the secondone. Both are same datatype i used as varchar. When I apply the …

Member Avatar for pritaeas
0
86
Member Avatar for fredrickprem

what is this common.php it is located in includes folder where the class files are located.I dont understand please help me i am new to php and it contains the following coading in it.Why we use it? [CODE]<?php ob_start(); session_start(); //$_SERVER['DOCUMENT_ROOT'] = "/home/gt5com/public_html"; if(!defined("_MAINSITEPATH_")) define("_MAINSITEPATH_",$_SERVER['DOCUMENT_ROOT']."/talent6/includes/"); if(!defined("EMAIL_LINEFEED")) define("EMAIL_LINEFEED",'CRLF'); if(!defined("EMAIL_TRANSPORT")) define("EMAIL_TRANSPORT",'mime'); if(!defined("CHARSET")) …

Member Avatar for fredrickprem
0
223
Member Avatar for spideyprasad

I created a php page. this is my code. [CODE]$con=mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql = mysql_query("SELECT * FROM $tbl_name WHERE (Order = '" . $_POST['order'] . "')") or die(mysql_error());[/CODE] But its showing error like this You have an error in your SQL syntax; check the …

Member Avatar for monica singh
0
133
Member Avatar for lifeworks

hi Ive been posed this problem. A friend does maintenance on a companies network, and would like to do it remotely. Currently, their IP changes every 24hrs and so he has to phone them to find their IP so that he can log in... He asked me to write him …

Member Avatar for monica singh
0
184
Member Avatar for rcavezza

I'm using these libraries for an email application I'm building. [CODE=php]$storage = new Zend_Mail_Storage_Imap($imap); if (strpos($storage->getMessage($i),'chocolate') !== FALSE ) { //Move to chocolate folder here } [/CODE] Also, is there a way to put incoming emails from this sender to automatically go into the chocolate folder from now on? ...similar …

Member Avatar for rcavezza
0
316
Member Avatar for niths

hi all, In my page i had a highest education qualification section and 2nd Highest Qualification 1.In HIghest qualification i had course and Year of pass as dropdown fields 2 In 2nd Highest qualification i had course and Year of pass as dropdown fields same as highest qualification. Now i …

Member Avatar for fornandakishore
0
4K
Member Avatar for samarudge

Hey, So I have a function to generate a slug URL, all the generated URLs must match a .htaccess rewriterule allowing only alpha-numerics, hyphens and underscores. My question is; how do I remove ALL characters other than the allowed characters. For reference, my URL rewrite is [ICODE]([0-9a-zA-Z_-]+)[/ICODE] -Sam

Member Avatar for samarudge
0
133
Member Avatar for cassie261

I'm suppose to select any row from my database and delete the row but there is some problems with my coding. Can anyone help me to amend my php code? Thank you[CODE]<form method="post" action="deletestudent_p.php"> <? // connect to MySQL database server $connection = mysql_connect("localhost", "root", "") or die("Could not connect …

Member Avatar for hielo
0
101

The End.