MySQL error
This is my php code if(mysqli_query($con,"INSERT INTO transactions (ID, Amount, To, From, Description, Type) VALUES ('23', '46', 'hello', 'hello', 'hell1', 'asddsa')")) { return "success"; } echo...
View ArticlePHP EXPERT ASSISTANCE NEEDED
1. Please how can select Assigned Court so that the Assigned Judge and his Court Location should be auto selected...What I was able to do is just for Assigned court and Assigned Judge..Please I need...
View Article[Help] Hidden Error when insert data into database
Hi guys, I am doing add function following Model Control View style There is a hidden error in my code but I could not find out. I filled data in form below I press "Add" button to process and...
View ArticleHow to open & edit file in list content of directory
Hello Everyone, I’m having a page php have function list content of directory in computer such as c:/folder after that I can open, write and save any file I want in list file. Now I have complete to...
View Article!HELP! Undefined Index
Please help I have this issue for a while and don't know how to fix the problem. I get an error message saying that there is an undefined index on line 9 and also line 10. I have no idea how to solve...
View ArticleNeed some help with how to..
hey guys/gals I have attached an image i'm trying to mock the outcome of this site - so what i want to happen is based on some DB entries to a title, screenshot and footer have this page spit out...
View Articleadding images to msql
hey guys gals can someone tell me I'm setting up a DB that I want to hold an image how do I accomplish this in phpmyadmin?? second question is does anyone know of a way that I can set something up...
View Articlewhats wrong with this code
i get an error Warning: mysql_query() expects parameter 1 to be string, resource given in /home/jeffdesj/public_html/clicker/index.php on line 71 $select = mysql_select_db("jeffdesj_clicker"); $result...
View ArticleWoeid help needed
I have a problem with the weather forecast from woe today (Saturday 7th) I get tomorrows forecast as 11th Dec? Is anyone else having problems? James [location_city] => Congleton...
View ArticleMysql query within if statement problem.
Hey guys, I have a mysql query inside 2 if statements. When the query is just inside the first if statement there is no problem, but once I add the query inside the second if statement as well I get...
View Articleform validation with question problem
I have tried this in every way i can think of, there's a multidimensional array with 3 sets of data, each set has both a question and the corresponding awswer, i want to validate the user's answer to...
View ArticlemySQL Hates Me Can't Insert Into Table
I'm trying to insert two variables into a table, but the first field always ends up empty, while the second one turns out correct. The entire script goes: <?php $id = $_POST['id'];...
View ArticleRelearning PHP after 4 year hiatus
Ok, so fairly straight forward. I was very advanced with PHP. However, with the job market in the area i lived, i was absolutely unable to find a job in php. This was about 4 years ago. Since then i...
View Articleurl path question
I have a question on how to structure my url for a blog. Before i used the ID of the blog_id, but i feel i should add the title of the post (Like they do on this forum). Then i added the the title to...
View ArticleSorting strings?
Hello I am having issues trying to sort some some results. example results from table: 30/1 8/2 12/1 12/2 How can I sort these to make value before "/" go first and if first value are the same...
View ArticleMYSQL NUM ROW CHECK NOT WORKING
Hi there, Am submitting an excel spread sheet via an upload php script I check in the do loop to see if the info already exists in my selected database using the info below...
View ArticleHelp needed to make a login script redirect to another reserved page
Please, help. I'm new to php but I've tried so many times to make it work. I've wrote a script that reads user and password data correctly, to log into a reserved webpage. The problem is that when you...
View ArticleHelp with array function "shuffle"
So this is my 2nd PHP class ever. And this right here is part of my final. I'm sure you all know what the "shuffle" function does. What I thought I could make it do was randomize a bunch of echoes I...
View ArticlePOST with image not working
Hey there, I'm trying to make a simple point adding system and it works so far, but it works with a submit button and not an image. So if i click the button it will add 20 'points' to the database i...
View ArticleList upload and echo
I need something to be uploaded and then echoed. Could it be in like a textbox or something? I have been trying for like 2 days now, but I can't figure it out. Also for MySQL what would be good for...
View Article