- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
16 Posted Topics
Tell the browser about the image by setting the header. [B]header('Content-type: image/jpeg');[/B] And then execute the query and get the result set [B]$query = "SELECT image from sample_images where id=$someid"; $result = mysql_fetch_array(mysql_query($query));[/B] then decode it by using.. [B]echo base64_decode($result["image"]);[/B]
Yes I can help you in design as well as code. Tell me what kind of help do you need? Thanks
Try javascript mouse over function to change the color or something else. It is possible that your function is clashing with some other file or function. Thanks
Try javascript redirection. [B][COLOR="Green"]echo 'window.location = "http://www.google.com/"';[/COLOR][/B] And just a suggestion never disclose the message saying that either username wrong or password. Just say "Username/password wrong". This is good for security. Thanks
Use DIV for page layout design and use Table for inside things e.g Forms etc DIVs are preferable and little weight than tables. Thanks
try position:relative in all places. Never use position:fixed. Thanks
Good choice AJAX,PHP,JQUERY,SQL. A webdesigner should know some kind of designing, so that he/she can make templates. For designing you should know HTML and CSS for the structure of website.
Try to use absolute positioning as minimum as u can.
Use [B]count[/B] function on result set. It will give you the total number of records.
Possible reasons can be [LIST] Your ID of where clause doesn't exist. [/LIST] [LIST] Use single quotes only for string data types [/LIST]
Use Backup of old DB and then restore it into new DB
The End.
xuqi