Display image from sql number value
Okay, I thought I had this down to what I'm trying to do. But I can't find where I'm going wrong. I promise I searched the best I could, but I can't find specifically where the error (500) is coming...
View ArticleHow to open PHP Sockets?
Hey guys, I just installed a script for a demo at school but it says I need to enable PHP Sockets. What is that? I never heard that. Im using this host: http://dolphhost.com/
View ArticleJSON_ENCODE issues
Hello All, I am working on a project that pulls data from a mysql database and formatts it into json. It is encoded into json so that Google Charts API can plot the points for me. I had the code...
View Articlephp sessions not working on Apple iPad and iPhone
Hi all! I have a very strange situation. I have a webpage, built using PHP, where a visitor shall register his/her first name, last name, e-mail, phone and that choose a dish from a drop-down list....
View ArticleSave dynamic php image
I've been working off some code I found and have made it work for my needs. What it does is overlays text over an image using DTR I've setup a form that uses the GET method to change the text...
View Article=\ I need help with a Query
Hi, go easy on me please, I am not a pro and I am more than likely doing this the incorrect way. $date = date('Y-m-d 07:00:00', strtotime('-24 hours')); $getJobs = mysql_query("SELECT * FROM jobs...
View Articleneed help with 'deprecated' error
anyone wanna try their hand at this error showing up on my page at: http://foolproofprofits.com/fbm-kpop/fbm-kpop.php?i=2hLXYdvh2-A~Jan2014&t=Kpop-World-Festival-2012-Kpop--2012-Part-2...
View Articletrying to get phpxls to save a file instead of download it
I've done research on this and from that I gathered that this needs to be changed to allow it to save instead of asking where to download it to. function send($filename) { header("Content-type:...
View ArticleUnexpected end of file
I have this very simple lines of code: <!DOCTYPE html> <html> <head> <title> Chapter 5 Strings </title> </head> <body> <a href="index.php">Back...
View Articleif one insert query fails, 'undo' the previous
I realise 'undo' is the wrong term for this and I'm pretty sure it can't be done... but it's worth asking When inserting a new user their details are put in different tables, a 'members' table with...
View Articlenot all records are being displayed
Hi Guys Hope someone can help me. I have some code that runs a query and finds 3 rows for example, however only 2 are displayed on the page, however many records are found on the query it will always...
View ArticleShow javascript menu based on sql table results
Hi Guys I am wanting to create a menu page which displays menu's based on if the menu field in the sql database has a yes or no in the contents by using an if statement. I have not had much success...
View ArticleWarning: mysqli_query() expects parameter 1 to be mysqli
I am having a minor problem with my code if any one can help. I have a form where the user can add a new article however on submit this error is displayed: Warning: mysqli_query() expects parameter 1...
View ArticleDisallow cloning in PHP?
Hello, Is there any way to disallow the use of "clone " for an object? What I mean is, let's say I have a class named "user" I am able to clone the object ; $student = new user(); $teacher = clone...
View Articlephp upload file not working inside a form
Good Day need help, been trying this for so long now, i have a code for move_upload_file() it works very fine when i test the page alone but once i put it on the form on my website it doesnt work?...
View ArticleHelp with PHP DOM Object(s)
I am only a few months into PHP and don't grasp all the things that i guess the "expert" programmers do, so for that i'm sorry... i'm working on it. I need help with what code would accomplish what i...
View ArticleHelp me guysss....
Hello every body actually i'm going to create a chat script and i need some idea... suppose two persons ( x and y ) are chatting together... I want to create two different different backgrouns for...
View ArticleAdvice needed: Display image gallery and allow user to choose one
Hi there I'm brand new to the site and a fairly new PHP coder... I'm looking to build a simple system which will allow non-technical users to build HTML emails. It's incredibly basic and only...
View Articleproblems parsing and dynamically writing to XML using DOM
As my first post, I'm stuck on 2 problems that I've slowly been managing to figure out. I think (or hope) I'm pretty close to the solution but cant seem to get past this hurdle. Fortunately, both use...
View Articlephp make .edu email addresses
hi is there any way to create an .edu email address with php ? without a .edu website ?
View Article