PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 14th, 2013, 09:29 PM
CrypticBlaze CrypticBlaze is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 1 CrypticBlaze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 20 sec
Reputation Power: 0
Wont import values into table?

So I have been stuck on this for a long time now. Thought I could use a more experienced member's help. I am trying to import my news post into my table news. I have tried a lot of things. But just so you know i'm a beginner with MySQL and have copy/pasted this code from YouTube:

pastebin (.) com/KxEUY6qk

Reply With Quote
  #2  
Old February 15th, 2013, 04:15 AM
Jacques1's Avatar
Jacques1 Jacques1 is offline
pollyanna
Click here for more information.
 
Join Date: Jul 2012
Location: Germany
Posts: 1,834 Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 1 h 44 m 46 sec
Reputation Power: 811
Hi,

what's the concrete problem? What error messages do you get?

I mean, you can't expect us to set up a full test system for your code and then start testing in the hopes we stumble upon the same error (which we do not even know).

However, I think it might make more sense to rewrite the code than trying to fix it. It has several massive security holes, and it's generally quite ... weird.

Check the link in my signature to avoid typical mistakes like inserting variables into query strings. You should also stop copying and pasting stuff. The code looks like you merged two completely different scripts from different people. For example, you use the old MySQL extension and the new MySQLi extension at the same time, which makes absolutely no sense.

Write your own code. It won't be perfect at first, and you'll have to spend some time on it. But at least it will make sense, and you'll actually learn the language.

You should generally be careful with copy and paste in the PHP world. The internet is full of terrible PHP code and bad tutorials from clueless people. If you blindly copy that stuff, chances are you'll tear gigantic security holes into your server.
Comments on this post
Nanomech agrees: Great advice!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Wont import values into table?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap