User Profile

Collapse

Profile Sidebar

Collapse
EVAS
EVAS
Last Activity: Mar 30 '12, 07:19 AM
Joined: Nov 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Java mysql play framework about uploading file data to db

    i think this is mysql question.correc t me if its java!
    I am using play framework (mvc java for web app).
    my question is that i want to save data from (.txt) file to mysql. So i got upload.html :
    Code:
    <form action="mplapla" method="POST" enctype="multipart/form-data">
       <input type="file" name="filename" />
            <input type="submit"
    ...
    See more | Go to post

  • EVAS
    replied to PHP/Mysql image problem
    in PHP
    thx for reply! i did it and the image is displayed! but how can i add some text? tnx in advance
    See more | Go to post

    Leave a comment:


  • EVAS
    started a topic PHP/Mysql image problem
    in PHP

    PHP/Mysql image problem

    hello there! i got a question about blob mysql data.i have a button and on buttonclick i want to open a popup (and passing date parameter) and show some details and display a photo.if i try
    Code:
    <?php
    if (isset($_GET['p'])){
       $temp_date=$_GET['p'];
       echo "DATE : $temp_d <br>";
       $date_m=date('Y-m-d',strtotime($d));
       $connect=mysql_connect("localhost","user","pass")
    ...
    See more | Go to post

  • EVAS
    replied to dynamic submit action help
    thnx for your reply! i tried
    Code:
    newsubmit.onclick = function () {
                                       fun(i);
                                       };
    and worked like charm :)
    now i have something else that bugs me.i want each button to be named by a mysql table value.So a append my code
    Code:
    <?php
    $connect=mysql_connect("localhost","admin","pass")
    or die ("Check your
    ...
    See more | Go to post

    Leave a comment:


  • EVAS
    started a topic dynamic submit action help

    dynamic submit action help

    hello!i will try to explain my problem here!forgive me from mu english
    i want to create buttons depented on some field in mysql.i managed to pass the variable value (how many buttons to make) with php and javascript.Now i want for each button to show some data from mysql(i guess i should call a fun with button parameter to do this) my problem is how to make each button act deferently?i try this
    Code:
    function addsubmit (fid)
    { for (i=0;i<num;i++){
    ...
    See more | Go to post
    Last edited by Dormilich; May 23 '11, 06:44 AM. Reason: please use [CODE] [/CODE] tags when posting code

  • EVAS
    started a topic web clien in C
    in C

    web clien in C

    i am trying to make a programm running in Linux. i want to connect the client to server through sockets and read and send messages.Create my own simple mail server,but i get too many errors.Can you help me posting a link or a related code?Thanks
    See more | Go to post

  • EVAS
    started a topic printf is not working as excpected
    in C

    printf is not working as excpected

    typedef struct mail {
    user sender;
    user receiver;
    char body[100];
    struct mail * next;
    } mail;

    mail1.body= {"this is the body of the message"};
    printf("Body: %s",mail1.body) ;


    I have a compiler error.Can you tell me pls where is it?
    See more | Go to post

  • EVAS
    started a topic Struct not printing properly
    in C

    Struct not printing properly

    ......
    [code=cpp]
    typedef struct user {
    char login[LOGIN_SIZE];
    } user;

    typedef struct mail {
    user sender;
    user receiver;
    char * body;
    struct mail * next;
    } mail;

    user users[3] = {"AAA","BBB","C CC"};
    mail mail1;
    mail1.sender= users[0];
    printf("SENDER %s",mail1.sende r);
    [/code]
    It prints...
    See more | Go to post
    Last edited by sicarie; Nov 19 '07, 01:56 PM. Reason: Code tags and shouting annoys me
No activity results to display
Show More
Working...