Resource id #7 error
I have code for a football related website that is kicking a "Resource id #7" error. Everything is working right and outputting the proper data, but it also outputs "Resource id #7". I have googled and...
View ArticleI can't figure out why data isn't saving in my tables
Hi, I'd like to apologize if I sound like a noob. Other than a book on dummies about php and mysql, I'm new to php and mysql combined. Here is the code where my form is:...
View ArticleQuestion about AJAX/PHP Chat system
So I'm trying to create an AJAX chat system. I've gotten to the point where I should be able to print_r(new Chat->fetchMessages()); the dummy data I've put into the db table but for some reason it's...
View ArticleEmail class help
Hi everyone, I can't pin down why an auto responder isn't being sent using an email class that has previously worked fine. I've tested the mail() function and it's fine so I'm presuming it's not...
View ArticleInserting image
I want to post an image here.But don't know how ton insert here.Please help.
View ArticleConsuming XML SOAP with php
I am relatively new to webservices and so i need help consuming an asmx webservice and the xml for it is as follows. SOAPAction: "http://www.mywebsite.com/CheckClient" <?xml version="1.0"...
View ArticlePLEASE HELP ME..
I Can't find out what is wrong with code.I'm a newbie to PHP and i created a form and embedded the script in the same page using if else statement. The Problem is that whenever i fill the form and then...
View ArticleI Need Card Integration Code... Please Help
Dear Members... I need card integration code in PHP working fine, can anyone help me by providing me the sample code
View ArticleRemove all but last 10 elements in an array
I'm looking for a way to remove all but the last 10 elements in an array. Is it possible to do this with array_splice? I have an array with greater than 1000 elements and I don't want to have to...
View ArticleIdentifier Why Item Wont Insert? - Very Confusing
Hi, I have the following code which should insert information into two tables "productdbase" and "furniture_groups". However the code inserts more lines into productdbase than what it does into...
View ArticleFetching last characters after "=" sign
Hi all I want to fetch last characters after........... "=" sign ....... http://www.abc.com/index.php?site=new I want to fatch only........ new http://www.abc.com/i...p?site=previous I want...
View ArticleSorting a loop by date
Hi, I'm using Simple XML to read from an XML file. I've done a loop for each event. It gives me all the events back in the order of the XML file. However, instead I am trying to sort events by date....
View Articleupload video clips display video thumb images not working?
Hi I have created an upload_video.php page and having issues with it. Hoping that some PHP genius can help me out a little for which I would be ever so grateful. Change my video page does not...
View ArticleDynamic table columns - max number before new row
Hiya I have database records that are outputted in a table column for each record. I want to make it so that when every 5 records are outputted and new row is created and then another 5 column records...
View Articlemysql_num_rows() expects parameter 1 to be resource, boolean given
Hi Guys, I have a simple mysql_num_rows() expects parameter 1 to be resource, boolean given error in my script, I have tried to debug it myself but I don't understand why the script doesn't think the...
View ArticleConverting the month from yyyy-mm-dd
I have a php program which accepts the input of the YYYY-MM-DD as the date format and stores it to the database. As soon as the user enters the date with YYYY-MM-DD format (e.g 1990-06-22) how can I...
View Articleimage resize/crop
I have a code that make a re-size and crop to a picture. First he resize the picture and after that put the picture in the middle of the white background. The only problem is if a picture is vertical...
View Articleprotection
hi guys, how i can make my php file uneditable, i am going to send my work to my friends, i am not trusting him well so i want to protect it is there any way to make it uneditable ????
View ArticleIncluding AJAX/PHP Chat App Files
Hey guys, I've built an AJAX/PHP user chat box within public_html/chat/... and what I would like to do is reference public_html/chat/index.php within the home page of my website and have it...
View ArticleI seriously cannot figure out what's wrong with this!
Hey guys, So I am adding to an already existing Shipping quote form and backend reply system. I basically just added one new item, tested if it was working on the front and backend (which it was),...
View Article