mysql - how to insert an image into a database using php -


संभावित डुप्लिकेट:

नमस्ते,

मैं php का उपयोग कर डेटाबेस में उत्पाद छवि सम्मिलित करना चाहता हूं। कृपया मेरी मदद करें।

ऐसा करने के दो तरीके हैं।

  1. छवि के लिए बाइनरी डेटा सम्मिलित करें।
  2. छवि के स्थान को डेटाबेस में सम्मिलित करें और छवि फ़ाइल को अपने ऐप्लिकेशंस से पहुंच योग्य स्थान पर रखें।

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -