39,393 Topics

Member Avatar for
Member Avatar for retareed

I have a PHP script which checks and gets data from a MySQL database and then sends email. The emails received have one line of gibberish at the end: "...If you have received a renewal notice from the license/certificate issuer, please forward it to {snipped}. If you are due for …

Member Avatar for retareed
0
159
Member Avatar for Namibnat

I have been working on a site for a while now, and finally wanted to load it up to the server. I have been working on my own computer with xampplite. Everything was working just fine. When I uploaded it, after a few little things to resolve, I got most …

Member Avatar for Josh Connerty
0
102
Member Avatar for Venom Rush

Hi all I'm learning OOP and I'm having a bit of trouble grasping the concepts. I'm trying to code a class that will connect to a database and have a function that will insert data into a table no matter how complex the insert is. For instance: Insert 1: INSERT …

Member Avatar for Venom Rush
0
105
Member Avatar for csharplearner

Hi I trying to implement pagination using LIMIT in MySQL. My problem is it works good for the first 3 results only and for later results it shows error saying [COLOR="Red"]check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 3, 3' …

Member Avatar for cwarn23
0
176
Member Avatar for navi17
Member Avatar for navi17
0
153
Member Avatar for sanjaypandit

hello sir, i want one of the following, 1. i upload a excel file on server then i will display of its contents using php in various tables as requirement or 2 if i upload a excel file using php then after uploading excel files, mysql table automaticly update according …

Member Avatar for sanjaypandit
0
129
Member Avatar for Aamit

Hi, I want to clear or delete old values of array [COLOR="Red"]I attached my database dump with this post[/COLOR] my code is [code] require_once('includes/DbConnector.php'); require_once('includes/Validator.php'); require_once('includes/CommonUtility.php'); $z=0; $duplicateFlag=false; $qury="SELECT orders.order_id,users.company,users.minorderamt,vendororder.vendid FROM orders LEFT JOIN vendororder ON vendororder.orderid=orders.order_id LEFT JOIN users ON users.user_id=vendororder.vendid WHERE orders.status='C' AND orders.order_id='368' ORDER BY vendororder.vendid"; $qryR1=$connector->query($qury); …

Member Avatar for digital-ether
0
396
Member Avatar for shena

Hi, I need help for this problem that i'm trying to solve for a while (i'm new in PHP). How do i submit the value into database? Here's the code: [code]<form name="Form1" method="POST" action="checkbox.php"> <p><input type="checkbox" name="floor tile"> Floor Tiles</p> <p><input type="checkbox" name="polished tile"> Polished Tiles</p> <p><input type="checkbox" name="homogeneous tile"> …

Member Avatar for shena
0
4K
Member Avatar for lauriedk

My program needs to select a username based on the criteria of the userid being 2. The database holds a table with fields userid and username. How do I access that table? The database is mysql.

Member Avatar for Josh Connerty
0
177
Member Avatar for Ddywalgi

Can anyone please help.I am trying to add values to a table from 2 dropdown lists which are dynamically poulated. I have managed to achieve it for one drop list but have added a second and cannot create the correct syntax to add both values to the table. [CODE=php] // …

Member Avatar for Ddywalgi
0
107
Member Avatar for elajam

I have a simple php script that I want to use with GET mysite.com/script.php?site=value&amp;plug=value site will be a domain name plug will be a URL It works if I only pass 1 value: mysite.com/script.php?site=value But it fails when using both values. Get forbidden error. here is the code [code=php]&lt;?php include("dbconnect.php"); …

Member Avatar for Josh Connerty
0
61
Member Avatar for rajeesh_rsn

Hai I had a mysql table and columns like name, address, phone, id. I need to select only name of a specified id. Now i am using this code: $sel=mysql_query("SELECT * from profile where id='$id'")or die(mysql_error()); $row=mysql_fetch_array($sel); $name=$row['name']; Please let me know whether this is a correct way. If not …

Member Avatar for Josh Connerty
0
67
Member Avatar for HelenLF

I have a page which displays images for products whose product IDs are stored in a database table. The images are named by the product IDs. I have constructed a basic CMS so that my client can upload product prices etc and she then uploads files using FTP software. The …

Member Avatar for Josh Connerty
0
88
Member Avatar for menew

hello to all as i am new to this, all i wants to know that what is required to learn PHP. these days i am on JavaScript and know some basics of it and i have knowledge of HTML and CSS...but i don't want to continue JavaScript and wanted to …

Member Avatar for csharplearner
0
200
Member Avatar for Sanit

Hi guys, I have a bit of a problem here. I have dynamic URLs which are changed using mod_rewrite from 'example.php?id=204' to '/example/title-of-story-from-db/'. My problem is that I need to call a function through a link on either the example.php page or another separate page which uses information from the …

0
62
Member Avatar for rush1

Hi All. I Am Having A Problem With My Website [url]http://www.wanaspace.com/[/url]On Home Page Of This Site The Youtube Video collapsing on Advertising Window.i want advertising Window to be opened over video so end user can close advertising & watch video.need your help as early as possible.

Member Avatar for almostbob
0
106
Member Avatar for ShawnCplus

If you've gotten the error "Supplied argument is not a valid MySQL resource" you're in luck because so has everyone else that has ever used PHP... ever. The error is caused by a number of things including: Your query is wrong, you failed to connect to the database or you …

Member Avatar for digital-ether
6
4K
Member Avatar for sunilsinha

Hi all, How can restrict images for not storing in browser cache. Or in another way how can we delete browser cache files programitically. I have tried header in php. Also i tried Cache-Control of meta tags, but still images are cached and even it update image, browser is showing …

Member Avatar for digital-ether
0
289
Member Avatar for anna05

[code=php]<?php if ($_SERVER['REQUEST_METHOD'] == 'POST'){ $getLima=$_POST['Onoma']; include "connect.php"; $rsSelectOnomata=mysql_query("SELECT * FROM titloslimmatos WHERE LimmatikosTypos='$getLima'"); //$result=mysql_query($query); while($rsRow=mysql_fetch_assoc($rsSelectOnomata)) { echo $rsRow[titloslimmatos.LimmatikosTypos]; $rsRow[titloslimmatos.MerosLogoy]; $rsRow[titloslimmatos.YfologikoEpipedo]; $rsRow[titloslimmatos.GlwssikoEpipedo]; //$rsRow[extralimmatikoitypoi.ExtraLimmatikosTypos]; //$rsRow[extralimmatikoitypoi.YfologikoEpipedo]; //$rsRow[Simasia.XrisiLeksis]; //$rsRow[synonimo.Synonimo]; //$rsRow[synonimo.Example]; //$rsRow[antitheto.Antitheto]; //$rsRow[antitheto.Example]; } } else { ?> <html> <body bgcolor="#FFFFCC"> <h3><center><b>Δώστε το λήμμα που ψάχνετε</b></center></h3> <table> <form method="post" action="<? echo $PHP_SELF ?>"> <input …

Member Avatar for anna05
0
199
Member Avatar for menew

hello all as i am new here don't know much about the site but hopes somebody will help here..in fact i am trying to integrate Ajax Tabs Content Script (v 2.2) with SMF( Simple Machines Forums). As this script has already been developed for vbulletin forum . what it exactly …

Member Avatar for Josh Connerty
0
68
Member Avatar for bufospro

Hi all, I use a form to contact with an user and then I need to send data in my e-mail My code is : [code] $myemail = "a@hotmail.com"; mail($myemail, $subject, $message, $from); [/code] But when I run my site I take this warning mail() [function.mail]: "sendmail_from" not set in …

Member Avatar for Josh Connerty
0
96
Member Avatar for lalomoreno

I'm kinda new to PHP and I'm trying to copy information just passed into one table, and copy it to another, but I keep getting an error when I run the script. the code goes like this: [code=php]// populate the table with the values $query = "INSERT INTO zones (store, …

Member Avatar for Josh Connerty
0
156
Member Avatar for sunilsinha

Hi All, I need to draw image having text using gd library on basis of font selection. User has an option to make text bold/italic. I am using imagettftext to write text on the image. how can we draw having bold/italic text or is there a way to detect whether …

Member Avatar for sunilsinha
0
851
Member Avatar for sarithak

Hi frnds.. i want to split a string into two parts.. example: $string="hyderabad,india"; i want to divide this based on , ... $string1= "hyderabad"; $string2="india"; plz help me asap...how can i get the output above...

Member Avatar for Merlin33069
0
3K
Member Avatar for thecodingbee

[B]If you have seen igoogle,[/B] you will know what i am doing! The idea is that it [B]saves the co-ordinates of the box [/B]that you can move [B]into two text files :[/B] usercoord.txt-x axis & usercoord2.txt-y axis! can anyone tell me [B]how i can load the coordinates back, from the …

Member Avatar for diafol
0
117
Member Avatar for toddsmith

Greetings, I'm new here and new to php. I've always just written in basic html but now want to utilize global header, footer, and left nav bar. From what I've seen I should be able to accomplish that with php. (My contact with siteaction suggested that I use Frames, but …

Member Avatar for plantf7**344
0
148
Member Avatar for TheTeen

This is a quest script I am working on, however, I have come to find out that whenever user finishes a quest it'll either tell them their reward or give them an error like: Your quest has not been completed yet! Only 1 out of 0 have been brought to …

Member Avatar for OmniX
0
272
Member Avatar for Arne1983

Hi! Thank you for checking out this thread. I've been programming PHP since 2001 and I want to tell you that I just love the PHP community. There are so many people who have helped me out over the years and two weeks ago I decided that I really want …

Member Avatar for Arne1983
0
200
Member Avatar for Lazey

Greetings, I am looking for a FAQ script that will work as an addon for Magento. I was looking at phpmyfaq, but that is an external script that does not seem to integrate well with Magento. Is anyone currently using a decent FAQ script? Do you have one to recommend? …

0
51
Member Avatar for sunilsinha

Hi, How to draw image having 2-3 lines of text using gd library in php so that text should be mulitiline based on [enter] key hit and will be aligned and autowrap. Now even when enter key is hit text is appearing on single line and is not autowrapped. Any …

Member Avatar for ShawnCplus
0
76

The End.