• Member Avatar for urtrivedi
    urtrivedi

    Began Watching Link a variable to a buy button

    Morning everyone -- Can anyone help me with what is probably very simple? I have a page where I want to get a variable from the URL and insert it …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Link a variable to a buy button

    In my view alone html is not capable of doing so. What is your server side language?
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Contact Us Form

    Hi, Recently I downloaded a template which is awesome. However, it has a contact form on it but no way to set it up easily. I'm wondering how I can …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Contact Us Form

    what u have is just first part of code. User page. Now you need handler page which will take input from about page and should send mail . your page …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Dynamically Create a Form

    Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Dynamically Create a Form

    if you can buy, try phpmaker , I think it gives what u want.
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Convert Row of Data in Single Column with Group

    select customer_id , max(case when questions='FirstName' then answer else null end) FirstName , max(case when questions='LastName' then answer else null end) LastName , max(case when questions='OrgName' then answer else null …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Convert Row of Data in Single Column with Group

    ![e06bda938bd3817cedb4e3d69265b84c](/attachments/large/3/e06bda938bd3817cedb4e3d69265b84c.jpg "e06bda938bd3817cedb4e3d69265b84c") ![e06bda938bd3817cedb4e3d69265b84c](/attachments/large/3/e06bda938bd3817cedb4e3d69265b84c.jpg "e06bda938bd3817cedb4e3d69265b84c") ![e06bda938bd3817cedb4e3d69265b84c](/attachments/small/3/e06bda938bd3817cedb4e3d69265b84c.jpg "align-left") Hi, I have a below table of Content CUSTOMER ID QUESTIONS ANSWER 1 FirstName John 1 LastName William 1 Country India 1 Zip Code …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Use case statement in mysql query

    Hi, Can we use count inside case statement. Need suggestions.. Error: ER_INVALID_GROUP_FUNC_USE: Invalid use of group function select COUNT(case when count(c3.id)>1 then c3.id end) as more_then_one ...................... ...........................
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Use case statement in mysql query

    when your condition is based on function result, you need to use having keyword select grpcol1, grpcol2, count(c3.id) from table1 group by grpcol1, grpcol2 having count(c3.id)>1
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Homework can anybody help???

    Where is the effort?
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Mysql query issue

    This mostly happnes when query do not run I guess you $agentid is not set properly print query on browser copy it and run into phpmyadmin, and check and solver …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Mysql query issue

    i am trying to generate pdf file using fpdf selecting data from two different tables i.e. table custreg and table slabpay, but getting MySQL error: "Warning: mysql_num_rows(): supplied argument is …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Error in PHP code to send SMS using way2sms API

    that means the source url contect is changed Your current code expects '/input type="hidden" name="Action" id="Action" value="(.*)"/' into the url source, that is now not available So you have to …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in PHP Query Insert and Select

    $sql="INSERT INTO admin_actions (action_done, date_accomplished, id_number, complaint_id) SELECT 'done', current_date(),id_number, complaint_id FROM complaints WHERE group_id=1";
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching PHP Query Insert and Select

    Hello, I need some help here. I cannot make the right query. In my code, I want to insert a data into my database. But the id_number will have different …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Displaying tabular and simple text in web page from my output in a Perl fil

    What is format of file how data is placed You have to user rows and columns with <table> <tr> <td> table tags
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Displaying tabular and simple text in web page from my output in a Perl fil

    **I am creating a webserver where I am using a tool called HMMer. When user uses this server they have the option to generate the output for the input either …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Read filename with date in php

    if its single file then when you store it, keep one name say cells.csv You should updates with same name and read with same name.
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Read filename with date in php

    Hello, I have csv filename with date. Everyday i have same csv file with respective date. I need to read filename (*everyday date changes in filename*) and do operation. For …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Software for WAMP for Mac?

    Hey guys, I just bought a Macbook Pro but I can find a software that works like WAMP for the Mac OSx for managing MySQL & running PHP scripts on …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Software for WAMP for Mac?

    I am also intersted to get this answer.
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching looking kind of session authentication for static pages

    Hi, I have one asp.net project. And one more normal static webpages site. What i want is after login into the website(asp.net) it has to redirect to the static webpages …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in looking kind of session authentication for static pages

    In begining of static page, you must put same authentication code that you would be having for other dynamic pages.
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Parse error: syntax error, unexpected

    you need to include the php file where class duomenubaze is declared
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Parse error: syntax error, unexpected

    1) You need to write classname after keyword class 2) i removed extra comma after word "phpfil" class myclassname { function prisijungti() { $jungtis = @mysql_connect("localhost", "dancr_phpfilm", "phpfil");
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Parse error: syntax error, unexpected

    hello I a. php that gives me an error can someone help me thank you Error : Parse error: syntax error, unexpected T_STRING in /home/dancr/public_html/movies/variklis.php on line 1 ` <?php …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching timestamp datatype select query

    Hi, I am using timestamp datatype for storing date..and value of column is like 2013-12-31 T 23:59:59.000Z For query SELECT * FROM a WHERE created_on BETWEEN '20131201' AND '20131231' SELECT …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in timestamp datatype select query

    both will give result but user hyphen 1) '2013-12-01' 2) as yor column is timestamp, it will only give records which are 2013-12-31 00:00:00 any value more then that will …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Uploading Images in mysql with php.

    mysql default format is yyyy-mm-dd and when you want to display somewhere, you can use date_format(datecolumn,'%d-%m-%Y') as mydate for country time, you need to set timezone of your contry in …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Uploading Images in mysql with php.

    change query to following $query = "INSERT INTO gallery (clientid, folder, file, filext, month, year, dateuploaded) VALUES ('$clientid', 'images/work/', '$filetitle', '$fileext', '$month', '$year', current_timestamp())";
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in i generated a php pdf with the help of fpdf but the resulting pdf is showin

    You did not mention what is the exact problem you are facing.
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching i generated a php pdf with the help of fpdf but the resulting pdf is showin

    <?php ob_start(); require( 'fpdf.php' ); $pdf = new FPDF(); $pdf->AddPage(); $pdf->Open(); $con = mysqli_connect( "localhost", "root", "", "my_db" ); // Check connection if ( mysqli_connect_errno() ) { echo "Failed to …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching PHP/HELP - MySQL/Wordpress - How to display in a page from MySQL

    I made a new MySQL table in Phpmyadmin in Wordpress in the same database from Wordpress but a new table. I want to make a new page and add a …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in PHP/HELP - MySQL/Wordpress - How to display in a page from MySQL

    2 ways of doing so, One when user write in search box, and click on search button , u can post search text to process page. and display search reslut …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching problem with uploading files :(

    Hi I have a problem with uploading files in php, and I don't know what is wrong :( this is my code : <?php //require_once('inc/config.php'); ?> <html dir="rtl"> <head> <title>تسجيل …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in problem with uploading files :(

    that happned to me when file is more then the permitted size in php apache settings, even it do not show an warning,
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Unexpected $end in existing article template - error not previously there

    I agree with simplypixie, added following code for field_by_id[32] and field_by_id[14] <?php endif; ?>
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Unexpected $end in existing article template - error not previously there

    Hi there, totally confused and hoping someone can help. I have an existing article template which suddenly developed this error when viewing the article: Parse error: syntax error, unexpected $end …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Unexpected $end in existing article template - error not previously there

    default_record_library.php upload above file as zip I dont see any error in code posted by you
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Getting background image to fill entire browser width correctly

    You need very high resolution picuture, you you can use small pattern image multiple times in tile format But if you use high resoulution image, it will take too much …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Getting background image to fill entire browser width correctly

    The link to my site is http://www.designstyleshome.com/index.php I want to make the middle section of the site have the grick background, and I want that the brick background should stretch …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in enter key problem

    I do not convert it to <br>, because when user again try to edit html code, It will show <br> in the content itself. So rather I used to display …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching enter key problem

    i am trying to learn how to make a text editor.here i creat a paragraph using "para" button.and inside the paragraph there will be a quote.Every time I press 'enter' …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Populate using mysql and php in highchart

    you try to view source after you load your page, see output of line 43 and 81 of your code, whether it is properly populated or not categories: [<?php echo …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Uploading Images in mysql with php.

    My table structure was common, I dont add 5x5 columns in table I wil keep only 5 colums, and I will add 5 records for that This is perfect table …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in When checkbox is clicked(checked) compare and display database value

    http://stackoverflow.com/questions/6956998/how-to-save-checkbox-value-to-mysql-database
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Uploading Images in mysql with php.

    You place your single file code in the for loop i set, check all variables carefully and you are done
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Uploading Images in mysql with php.

    I am posting how i handled it, you can change as your need First page code, I use number instead of text in file name <input type=file name="0" class="input" > …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Uploading Images in mysql with php.

    Dear, I make a php page to upload the images, pdf, swf etc etc for specific orginisation entered in same form. In the form i made the input type files …

The End.