• Member Avatar for pritaeas
    pritaeas

    Edited PHP insert script problem SQL

    I have the following code: <?php $fieldsClause = array(); $bindArray = array(); $fields = array('status','fname','middle','lname','address','city','state','zip','county','mailing','hphone','mphone','wphone','ext','fax','email','ethgroup','other1','occupation','poe','dob','gender','bhv','mrc','general','evv','allCounties','fillmore','johnson','otoe','richardson','seward','butler','gage','lancaster','pawnee','saline','thayer','cass','jefferspm','nemaha','polk','saunders','york','other2','aro','clergy','intskills','bus','child','law','cpr','data','security','emergency','computer','mechanical','administration','firstaid','translation','construction','basicclean','foodprep','animalcare','heavy','dataentry','identification','phone','runner','greeter','interviewer','safety','other2','interpt','cdl','cpryn','translate','other3','license1','verf1','num1','exp1','license2','verf2','num2','exp2','license3','verf3','num3','exp3','license4','verf4','num4','exp4','license5','verf5','num5','exp5','lsrd','syes','bcert','pauth','dist1','tdate1','dist2','tdate2','dist3','tdate3','dist4','tdate4','dist5','tdate5','felony','felonys','ename','erelation','ehphone','eaddress','ecity','ezip','hdyhau','bdesc','record'); foreach($fields as $field){ if($san = filter_input(INPUT_POST, $field, FILTER_SANITIZE_STRING)) { $fieldClause[] = "`$field` = :$field"; $bindArray[":field"] …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP insert script problem SQL

    Closed duplicate. Continue here: https://www.daniweb.com/web-development/php/threads/484765/sql-error-with-inserting
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I want to insert multiple rows in database by php

    What exactly is your problem?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP LANGUAGE SECURITY DOUBTS PLZ HELP ME in 24 HOURS

    First read this: http://www.phptherightway.com
  • Member Avatar for pritaeas
    pritaeas

    Edited PHP LANGUAGE SECURITY DOUBTS PLZ HELP ME in 24 HOURS

    .I am working as a PHP software developer in Bangalore.I am new to the PHP language.I have some doubts.please clarify me. 1. IN PHP what are the things we want …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in i want help

    What do you have so far? What is not working?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Problem while maintaining the sessions for different folders

    http://php.net/manual/en/function.session-save-path.php
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello everyone

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Newsletter

    Enable "Receive Occasional Community-related Email"
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Asp.net tool

    Sorry, I meant this one: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/gridview.aspx More elaborate ones are available from Telerik for example.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Wordpress Post format & Custom fields

    http://codex.wordpress.org/Custom_Fields
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Asp.net tool

    http://www.dotnetperls.com/datagridview-tutorial Looks like a datagridview. The above link starts simple.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Featured answers

    This is a new feature and currently under construction. Currently your votes automatically determine the helpfulness of the replies. There is no manual intervention yet, but that may come.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Live Content Update From Mysql

    Why would you read everything? You just need to fetch the items that have changed. How depends on what you are doing and how you are doing it.
  • Member Avatar for pritaeas
    pritaeas

    Edited Array

    Suppose we are given an array a[10] such that it contains both even and odd numbers. We have to move the even elements to another array say b[10] and odd …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Array

    Closed duplicate, continue here: https://www.daniweb.com/software-development/cpp/threads/484540/array @rubberman: please flag instead of replying. Easier for us to notice then and take action sooner.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysqli_real_escape_string

    It would be best to use parameter binding instead.
  • Member Avatar for pritaeas
    pritaeas

    Edited how to separate fields while updating from one table to another

    table1 --- column1 1002008000300-53-9 table2--- column1 column2 column3 1002008000300 53 9 how to populate from table1 to table2 SQL and ASP.Net(Csharp)
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Usernames

    > @veedoo: It's "veedeoo". You're missing an "e"
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How do I format my code manually

    Quoted from that very link: *"To produce a code block, indent every line by at least 4 spaces, or one tab stop"*
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Laravel: Undefined variable: fname

    Post will not be deleted.
  • Member Avatar for pritaeas
    pritaeas

    Edited enable Designer Mode in phpMyAdmin problem

    How to enable Designer Mode in phpMyAdmin...i am on main server not on local server
  • Member Avatar for pritaeas
    pritaeas

    Edited Laravel: Undefined variable: fname

    Greetings guys can you point to me what is the problem here? This is the code that produces the error. That is in my views: <h7 id="header-label">Welcome, {{ $fname }} …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to show all data. Only one row showing

    row contains only one record. Every group needs to be echoed separately inside the while.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Replace \n with br

    That could work. What functions are you using on your text variable before the insert query?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Techniques to Learn Drupal

    This one? https://www.packtpub.com/web-development/drupal-7-module-development-video
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Replace \n with br

    IMO the problem lies in the script that does the insert. Can you show that?
  • Member Avatar for pritaeas
    pritaeas

    Edited Read This Before Posting A Question

    ## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and …
  • Member Avatar for pritaeas
    pritaeas

    Edited Read This Before Posting A Question

    ## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Jerky Animation on Page

    Probably more content and other JS interacting.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Something wrong with my if else if statement

    One too many `}` before the last `else`. If you line up your indented `{` with `}` you can easily spot these mistakes.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Computerised system for a pre-primary school

    http://www.databaseanswers.org/data_models/ Perhaps you can get some ideas there. More specifically, see 15 - Education.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Unexpectably switched from jazz to blues/hard rock of late 60s

    Every generation has it's own music. It's not unexpected.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to ADD properly the Rich Snipets Microdata to my site

    What exactly do you mean by "it does not work".
  • Member Avatar for pritaeas
    pritaeas

    Edited danijsptutorial

    hello I am working with the daniwebjsptutorial the first one. I have a src and in it I have the resource.dir. I have the HttpServlet.jar there. I do not know …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Jerky Animation on Page

    Not for me. What exactly is jerky?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to sort the numbers in the array?

    http://delphi.wikia.com/wiki/Bubble_sort That's one way to do it.
  • Member Avatar for pritaeas
    pritaeas

    Edited Can't get blur to work

    $("#phone").blur(function () { alert('on blur'); }); form code: <form id="input_form" action=""> ... <td class="text_right">phone: </td> <td class="text_left"> <input id="phone" class="input" type="text" value="(123) 456-7890" name="phone" style="background-color: yellow" maxlength="15" size="15"> </td>
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to get facebook friends list

    What's the output for `/me` ?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shuffle results from mysql query

    Simplest, but not very fast: SELECT * FROM `table` ORDER BY RAND()
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in While every 2nd iteration.

    You can do whatever you want. You control your loop. Keep a counter to know your current position. Can you show your expected output in a little more detail?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Did I miss a change to poster ranks?

    Are you sure it's not set as "Junior Poster" in your profile (User Title at the bottom)?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Greetings!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to get facebook friends list

    > can you suggest me what is missing What's not working?
  • Member Avatar for pritaeas
    pritaeas

    Edited How to get facebook friends list

    Hello I getting current user friends list by php api of facebook. can you suggest me what is missing.[LINK](https://github.com/facebook/facebook-php-sdk) <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'removed', 'secret' …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Compress pdf file size

    http://smallpdf.com
  • Member Avatar for pritaeas
    pritaeas

    Edited what is Code Igniter and Yii

    Hi i take a project of my client said that you have to develope this project by using Code Igniter and Yii.. I don't Know what are these .. please …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Query string value in asp.net

    Can you show an example of what you want to achieve?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get Facebook API For Get Friends Contacts

    Download the SDK: https://developers.facebook.com/docs/reference/php/4.0.0 Then follow the getting started guid: https://developers.facebook.com/docs/php/gettingstarted/4.0.0 The example script in my previous post is shown when you click on the PHP SDK tab.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Problem when going online

    Put only this in the file (exactly): <?php phpinfo(); ?> Upload it, then view it with your webbrowser.

The End.