Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

Website Pagination Links

Hi everyone!   I'm creating a blog for someone here: http://test4.neshayasmin.com/   I've used this theme as my foundation, but I'm making changes to its appearance:...

View Article


How to move comment link from top of post to bottom

Hi,   I'm creating a blog here: http://test4.neshayasmin.com/   The theme I've used has the comment link at the top of the post, beneath the post title. I want to move it to the post footer on the...

View Article


Update if Exists If Not Show Error

Hey everyone having some troubles here with an update statement. I want to update a value(scanISN) if it exists and show information updated and if it doesn't exist show an error right now it show...

View Article

Help with two functions and emails

Hi Guys,   I hope somebody can help me out. I've tried to figure this out by myself the past few weeks, but can't! Newbie to php, taking over project from somebody else.    I have an online form that...

View Article

Count and register ocurrences

Hello, I have a programming doubt... I think this can apply to every language, imagine this scenario where I have this xml:   <MediaFiles> <MediaFile>    <![CDATA[VIDEO]]>...

View Article


Not Getting Data In Database

Please this code is a reciept code whereby when a customer is able to make successful payment his data will be stored in a database table and also if the customer is not able to make successful payment...

View Article

cURL times out trying to connect to its own server

I have the need to use cURL to request content from my own website.  I've been using the same function on several sites on my own server but recently needed to set up my code on a client's Windows...

View Article

Front controller for the entire site, or more smaller ones?

Hey, I was asking a lot of questions lately on this forum and it all boiled down to this one. We all know it is hype to implement front controller or master page index.php that handles all the requests...

View Article


Half a timezone

I always thought timezones had differences of whole hours. Can anyone explain the output below? <?php $d = new DateTime(); $d->setTimezone(new DateTimeZone('Europe/London')); echo...

View Article


Website server directory access

I am curious about server access. Lets say you buy a hosting service, can you manually decide which directories will be public and which will be off limits? Do public directories have to include views...

View Article

need little help php while loop condition

i have been working on minor project this is login script of that page i am facing some problem i want to echo if user name password and category both 3 conditions dont match with error "wrong...

View Article

Contact form with file attachment

Hello guys, I'm very new to everything that has to do with PHP. I started exploring it a while ago and at the moment I'm working on a contact form. I am using the following script that I found on this...

View Article

Undefined Variable Help

I know undefined variables are simple to fix, but I can't seem to get this fixed at all. <?php include ("./inc/headerinc.php"); mysql_connect("localhost","root",""); mysql_select_db("mid"); $email =...

View Article


error

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in E:\xampp\htdocs\signup.php on line 2Warning: mysql_select_db() expects parameter 2...

View Article

Write a large amount of data to a text file

I'm trying to create a text file from a foreach loop (code below) but i'm not sure how. So far I have tried to use fwrite but I'm not to sure how to write that much data to a txt file. I also tried to...

View Article


help me with simple code

I don't know how to fix this. It worked in 4.3 php, then my server got upgrade to 5.0 , then I have this error , how do I fix this. Thanks if you read this.   it might be 5.3 php now     Warning:...

View Article

search box alignment

Hi all. I am trying to have the search box aligned under the cart area top right of this site thewattletree.com   I have placed the search box code inside a dv the same as the cart item but its still...

View Article


Wrox PHP book programs will not run

I have been studing php using a book named Wrox PHP.  So far I have had alot of trouble getting the code to work. I have had to us work arounds to get the results I am suppose to get. Here is the code...

View Article

Image may be NSFW.
Clik here to view.

3 dependent drop-down list

Hi coders.   i achieve 2 dependent drop-down list in more than 5hours of working, and in my case i need 3 dependent drop-down to achieve completely. i use only one table and no querying happen at all....

View Article

Get Unique Computer Description Using PHP

Using PHP, how do I get some unique information  to a computer that is visiting my website. Something like private I.P. but you need a tools to get that and PHP doesn't have that. .  I'd try to use...

View Article
Browsing all 13200 articles
Browse latest View live