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: 7 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 7 months ago
George Sibiya
George Sibiya, Computer Hardware Engineer
Category: Programming
Satisfied Customers: 364
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 7 months ago
sure that will be fine thank you.
Programmer: George Sibiya, Computer Hardware Engineer replied 7 months ago

Ok thanks please feel free to check on progress then

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

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

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

Ok got it thanks. I will update you

Ask Your Own Programming Question
Programmer: George Sibiya, Computer Hardware Engineer replied 7 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 7 months ago
is mime for videos? and large files?
Customer reply replied 7 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 7 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 7 months ago
thank you
Customer reply replied 7 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 7 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 7 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 7 months ago

k cool

Ask Your Own Programming Question
Customer reply replied 7 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 7 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 7 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 7 months ago

Thanks I'll update you

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

Its almost done I will send it later today

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

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

Ask Your Own Programming Question
Customer reply replied 7 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 7 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 7 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 7 months ago

Will do thank you so much

Ask Your Own Programming Question
Customer reply replied 7 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 7 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 7 months ago
send me for extra help once u are upto resizing. and i will pay it.
Customer reply replied 7 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 7 months ago
how can u add the ability for user to delete posts.
Programmer: George Sibiya, Computer Hardware Engineer replied 7 months ago

ok let me update it

Ask Your Own Programming Question
Customer reply replied 7 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 7 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?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask George Sibiya Your Own Question
George Sibiya
George Sibiya
George Sibiya, Computer Hardware Engineer
Category: Programming
Satisfied Customers: 364
364 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,175 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

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
PC Guy only i need to know how to add hyperlinks and
PC Guy onlyi need to know how to add hyperlinks and pictures to my post for my php sql server how do i do that?… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
848 satisfied customers
Excuse me i need help with my sql and php and forms i cant
excuse me i need help with my sql and php and forms i cant write to my database and i dont know what code im getting wrong or am i getting the php server info or post info imput info or what im doing … read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
848 satisfied customers
I have a few thousand excel files that I need to load into a
I have a few thousand excel files that I need to load into a SQL database. Two options, Mysql or MS SQL. Both packages seem to have SSIS. Any information articles on the advantage disadvantage of MYSQ… read more
Steve
Steve
Consultant
Bachelor
69 satisfied customers
I have been sent a sql database that auto-updates yacht
I have been sent a sql database that auto-updates yacht availability from an external source I want to move this to a new server and incorporate it or embed it in to a yet to be made Wordpress site Pl… read more
Yvette
Yvette
Bachelor of Science
17 satisfied customers
I just asked the question about web designer verses web developer.
I just asked the question about web designer verses web developer. the next question is what do I need to have in order for them to build the website for me or how does that work. Do I need a database… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
848 satisfied customers
I have a file I would like to upload that has all my questions written
I have a file I would like to upload that has all my questions written down. Can I do that?… read more
Todd
Todd
Bachelor\u0027s Degree
396 satisfied customers
How do I to connect my forms to MySQL database? The first
How do I to connect my forms to MySQL database? The first form order.php should send all data to mySQL and save them there. The second form history.php should take all information from MySql and displ… read more
Eljon
Eljon
Software Developer Consultant
Associate Degree
562 satisfied customers
Hi LogicPro - can you help me with a PHP script to send form
Hi LogicPro - can you help me with a PHP script to send form data from a webpage to a MySQL database? I have the script written, it seems to connect to my database but it doesn't enter the form data i… read more
Eljon
Eljon
Software Developer Consultant
Associate Degree
562 satisfied customers
I need to someone to look at my php code to spot an error please! I
I need to someone to look at my php code to spot an error please! I have a page to upload pictures, at some stage it has stopped working however I have only just noticed it. Can anyone help please?!?!… read more
Louis vdW
Louis vdW
Bachelor's Degree
92 satisfied customers
Hi Todd, How are you Ive learned loads of neat tricks
Hi Todd, How are you? I've learned loads of neat tricks from the last answer you gave. Even just small things like using printf instead of echo for in certain situations is really useful. I'm about ¾ … read more
Todd
Todd
Bachelor\u0027s Degree
396 satisfied customers
I have php script which parses a text file and places the co
I have php script which parses a text file and places the contents in a Mysql database. The problem is that the database is showing strange characters for non-ascii chars, such as printer's quotes. Th… read more
Arty
Arty
Senior Administrator
Bachelor\u0027s Degree
469 satisfied customers
Hi Eljon, Ive been trying for a while to get the edited
Hi Eljon, I've been trying for a while to get the edited pages to write to the pageversions table (from the page editor) but nothing has worked so far unfortunately. Could you perhaps tell me what nee… read more
Eljon
Eljon
Software Developer Consultant
Associate Degree
562 satisfied customers
Id like to build a web site that has sections that require
I'd like to build a web site that has sections that require log in and profile information, and will later match registrants by degree of similarities. Another section will allow a registered user sta… read more
Ajay
Ajay
Owner/Founder
Master\u0027s Degree
36 satisfied customers
Hey BeBoo! Im just looking into how to make a webpage database
Hey BeBoo! I'm just looking into how to make a webpage database driven. That is, how do I save my information on a page in a database and pull invidivual parts from it to appear on a web page?… read more
Brandon M.
Brandon M.
System Administrator
Vocational, Technical or Trade Scho
2,143 satisfied customers
Does someone have a sample website build in php, linux, and
Does someone have a sample website build in php, linux, and oracle. The website should have a log in function for users and administrative personnel. an Add users function with the ability for a user … read more
robert
robert
Bachelor's Degree
2,594 satisfied customers
well I have another question for you...I am getting a warning
well I have another question for you...I am getting a warning message that says: Warning: Cannot modify header information - headers already sent by (output started at /web/carlton1/public_html/inc/up… read more
Coder4Life
Coder4Life
CEO
High School or GED
76 satisfied customers
Hello, This question is about php and database. Is it possible
Hello, This question is about php and database. Is it possible to connect to another database on a different server and take information from that database and post it in a php website? So you have we… read more
Steve
Steve
Network Security Engineer
Bachelor\u0027s Degree
60 satisfied customers
We are looking to use a checkout facility (google checkout
We are looking to use a checkout facility (google checkout or paypal for example) as we are developing a website for a photographer. What we need is the ability to show a photo as a product, and when … read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 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