Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

I need some help with my php code and sql database i cant…

Customer Question
hi i need some help...
hi i need some help with my php code and sql database i cant seem to get my photos to load, i can get the text and the url to load, but not the posting picture, i would like to also add the ability to post video to the database.
Submitted: 4 months ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 23 minutes by:
12/1/2017
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago
George Sibiya
George Sibiya, Computer Hardware Engineer
Category: Programming
Satisfied Customers: 297
Experience: PhD in Computer Science
Verified

Hi,

Welcome to JustAnswer and thank you for utilizing our services.

I can help look at it over the weekend.

Would that be fine?

Regards,

G

Ask Your Own Programming Question
Customer reply replied 4 months ago
sure that will be fine thank you.
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Ok thanks please feel free to check on progress then

Ask Your Own Programming Question
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

we need a was so you can send me your current code

Ask Your Own Programming Question
Customer reply replied 4 months ago
i cant add my txt file
Customer reply replied 4 months ago
i need the code added for adding video. and fixing the photo posting.
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Ok got it thanks. I will update you

Ask Your Own Programming Question
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Alright, this one has your code updated so it shows sql error messages

So, your picture field needs to be longblob data type it has max of 2MB

I have attached my test table's structure on the image

As for video files or larger files, it is recommended that you save them in a directory please see

Ask Your Own Programming Question
Customer reply replied 4 months ago
is mime for videos? and large files?
Customer reply replied 4 months ago
im not quite sure, i want the ability for somebody to add video content, to the post.
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Alright, you may test the image upload sent so long

I'll add the video functionality

Ask Your Own Programming Question
Customer reply replied 4 months ago
thank you
Customer reply replied 4 months ago
oh hi and also how to i auto, resize posted photos, i need them to fit into 550px by 550px i want all photos posted to resize to that how do i do that?
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Hi,

Note that I am still on this.

My time just gets limited during weekdays I work faster on weekends

Regards,

G

Ask Your Own Programming Question
Customer reply replied 4 months ago
i will pay extra for video and photo auto size and resizing to 550px. sorry thanks
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

k cool

Ask Your Own Programming Question
Customer reply replied 4 months ago
i just spent 10 hours trying to work out to resize photos to proportion in the iframe, i went through tones of websites but i could not work out the exact correct code to do it, i tryed several websites and tryed several codes, but i cant seem to work it out, its making my brain hurt.
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Ok I'll attending to it from today. Please send me your commentindex.php and display.php

Ask Your Own Programming Question
Customer reply replied 4 months ago
here, and i added txt file, i dont know what display.php is, is that the css for commentindex? also add the code for adding videos that videos can use youtube format. but i need them to be able to display, also in 600 px format i want the all proportion formatting size to be 600px for width and height
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Thanks I'll update you

Ask Your Own Programming Question
Customer reply replied 4 months ago
done yet??
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Its almost done I will send it later today

Ask Your Own Programming Question
Customer reply replied 4 months ago
very good send me the code and the phpadmin details please
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Its here. Its with trust that you will accept the offer, thanks.

Ask Your Own Programming Question
Customer reply replied 4 months ago
what file is it upload file code, how do i add it to my php commentindex.php file??
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago
It’s a complete stand alone project. I’ll have to rework it to just have the commentindex.php and upload.php
Ask Your Own Programming Question
Customer reply replied 4 months ago
yeah make sure it works in commentindex.php put code in and show me ss of myadminsql
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

Will do thank you so much

Ask Your Own Programming Question
Customer reply replied 4 months ago
i preffer my commentindex.php layout, i want you to put the video post to the upload and show me the ss of the myadminsql database setup, i dont need the standalone layout, i preffer my layout, just make the code work in my commentindex.php file.
and also, the resizing to 550px for the iframe for video and photos need to be fixed, the iframe posts need to all automatic resize to all post to 550px if u can work on that, that would be good.
Customer reply replied 4 months ago
once u have fixed my commentindex.php video posting, i will pay for the resizing of iframe, for photos and videos thanks.
Customer reply replied 4 months ago
send me for extra help once u are upto resizing. and i will pay it.
Customer reply replied 4 months ago
is the upload video, from choosefile button? where is the attribute, i want the video upload and photo upload to use the same button as choosefile button on commentindex.php
Customer reply replied 4 months ago
how can u add the ability for user to delete posts.
Programmer: George Sibiya, Computer Hardware Engineer replied 4 months ago

ok let me update it

Ask Your Own Programming Question
Customer reply replied 4 months ago
where is the commentindex.php file? make sure the video is linked to choosefile icon
and also add the resizing of iframe for commentindex.php to 550px by 550px, then i will pay for service offer, if u dont resize my iframe i will not pay extra
Customer reply replied 4 months ago
why is there date? i can see the links and the comment and delete ability, did not ask for date option, just add the resizing and send me the commentindex.php file otherwise i will not pay, i can work out the rest as long as resize and video code is connected to the choose file button i will be happy.
Was this answer helpful?
Ask George Sibiya Your Own Question
George Sibiya
George Sibiya
George Sibiya, Computer Hardware Engineer
Category: Programming
Satisfied Customers: 297
297 Satisfied Customers
Experience: PhD in Computer Science

George Sibiya is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,131 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

800 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I am looking for some help implementing http post request
I am looking for some help implementing http post request sending xml body in swift langugage … read more
George Sibiya
George Sibiya
Computer Hardware Engineer
297 satisfied customers
In this lab you will make a few modification to your first
In this lab you will make a few modification to your first lab to make it a little more sophisticated while practicing using structures.First modification: the dataThe input file now has a name at the… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
Write a class declaration named Circle with a private member
Write a class declaration named Circle with a private member variable named radius. Write set and get functions to access the radius variable, add a function named getArea that returns the area of the… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I've done a simple formula to increase a percentage by 118%
Hello, I've done a simple formula to increase a percentage by 118% (to show a target), however when the original percentage is in the negative it of course increase the negative amount however I want … read more
Jason Jones
Jason Jones
AAS Information Technology
6,322 satisfied customers
I have a worksheet with rankings for an award. Each nominee
I have a worksheet with rankings for an award. Each nominee is ranked 1-5. I want to awards points, 6,4,3,2,1 for places 1-5. How do I set up a formula to do this for me? … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,398 satisfied customers
Its an excel specific quesion...is there a reasource for
its an excel specific quesion...is there a reasource for that? … read more
Michael Rademacher
Michael Rademacher
MBA
6 satisfied customers
I was trying to run an SQL Between AND statement in Java
Hi I was trying to run an SQL Between AND statement in Java Netbeans. It is connected to mySQL. It says my SQL syntax is wrong. I was just wondering the proper way to write it … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I renewed my software but cant use it. Microsoft word,
I renewed my software but cant use it JA: Which software or app can I help with? Customer: Microsoft word, excel, publisher, access etc JA: What have you tried so far with your Word? Customer: Can not… read more
Elgin Vega
Elgin Vega
IT Consultant
Science Bachellor
129 satisfied customers
How do I find my workbook online. I updated one sent to me
how do I find my workbook online. I updated one sent to me on email and it said it was saved but when I opened it again from the email, it was not updated. … read more
Michael Rademacher
Michael Rademacher
MBA
6 satisfied customers
I need to renew my domain name with you. Sorry I dont
I need to renew my domain name charleychopchop.com … read more
Fran
Fran
IT Consultant
Associate Degree
170 satisfied customers
I'm trying to write this python to test average and grade
Hi, I'm trying to write this python to test average and grade but I can calculate my average. … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I cannot add a photo to an excel document from my Mac book
I cannot add a photo to an excel document from my Mac book air … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
459 satisfied customers
Pick ONE of the following: 1. Ten CodeLab exercises for
Pick ONE of the following:1. Ten CodeLab exercises for STRUCTURES2. Textbok p. 652, problem 3:Corporate Sales Data Write a program that uses a structure to store the following data on a company divisi… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I have a program need corection. Phyton. Make it correct I
I have a program need corection JA: Is there a specific language you're coding in? Customer: phyton JA: What's your objective? How can we solve this for you? Customer: make it correct I am missing som… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
From the below Java code, extend it and create a few
From the below Java code, extend it and create a few derivative classes, i.e. a Router, a Switch, a Server, a PSU (Power Supply Unit) etc. Each of those new classes has to be declared as extending the… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I am trying to see how to get rid of the last few charaters
I am trying to see how to get rid of the last few charaters upto and including the dash in the following 2141B-DNM-4 3157E-FC-14 3157E-FC-10/12 3157E-FC-7/8 2157E-FC-6 … read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 satisfied customers
I have a very simple question about a calculation/formula
I have a very simple question about a calculation/formula that I am trying to set up in Excel 16. … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,398 satisfied customers
Is this wordpress support? I have one site on Blue Host and
I have one site on Blue Host and could not get support there, … read more
Jinsmn
Jinsmn
Systems Administrator
Diplom
1,260 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x