User Profile

Collapse

Profile Sidebar

Collapse
tolkienarda
tolkienarda
Last Activity: Dec 3 '08, 06:13 PM
Joined: Dec 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alexson115
    alexson115 posted a Visitor Message for tolkienarda
    Hi guys, Im a newbie. Nice to join this forum.

    <link removed: spam>
    See more | Go to post

  • try to use the FCKeditor. i am not sure if they have a pdf option but they may have somthing that would work. and you can edit the menu items to have only the button options you want. if your form requires more flexability you could use basic fwrite() funtions to write it to a .txt file then use
    http://www.verypdf.com/txt2pdf/index.htm (i just googled txt to pdf) or similar linux software on your server and automate the conversion. you would...
    See more | Go to post

    Leave a comment:


  • tolkienarda
    started a topic accessing variables in an include script
    in PHP

    accessing variables in an include script

    hi all

    i have an have a script that i include in my program that validates a form, i was wondering if it would be possible to access variables from that script in my main script.
    example
    include.php:
    Code:
    <?
    $a = 15;
    ?>
    main.php
    Code:
    <?
    include "include.php";
    echo $a; //i want the value from include.php to come be displayed
    ?>
    ...
    See more | Go to post

  • OK thanks do i have to put this into a php script and run it every few days or is there some way to set up mysql to do that automaticaly.

    eric bressler...
    See more | Go to post

    Leave a comment:


  • my knowledge of sql and sql logic is very limited, i have not any complex database applications before. so that is why my question is probably not as clear as it could be. but here is a more detailed explanation of what i have.

    i have a table with an ID, Class, Active, EndDate rows. i never want to permanently delete any of these records just make them inactive by setting the Active element of that record to 0, i would like this to...
    See more | Go to post

    Leave a comment:


  • not sure. what are the results of your phpinfo function, and which version numbers of apache and php are you using

    thanks
    eric...
    See more | Go to post

    Leave a comment:


  • mysql fetch array function allows for two inputs the first is the result reasource, this is the only required field but you can enter what kind of array you would like, the default is MYSQL_BOTH which means it works as either kind of array or you can tell it to only use numbers or associative keys, the mysql fetch assoc function is the same as mysql fetch array with the MYSQL_ASSOC option.

    http://us2.php.net/manual/en/function.mysql-fetch-array.php...
    See more | Go to post

    Leave a comment:


  • change value of one element between certain dates

    hi all

    i have a table that keeps track of classes or a small school, the class becomes inactive after a certain date, this date is stored in my table, is there any way to change the value of my active element after the date specified in my EndDate element.

    thanks
    eric
    See more | Go to post

  • Thanks for all of your responses

    i think i realize why this has been such a strugle for me. My skill with php is ok but my knowledge of sql logic is terrible, in the past i have used independent tables, i never needed relational tables, and now i have stepped back and broken up most of completely redesigned my database. and while this means that i have to pretty much rebuild my program i think it will go much faster than what i have...
    See more | Go to post

    Leave a comment:


  • Is there a "Visual Basic for Mac"?

    hi all

    i am not much of an application programmer but i somehow got a contract to build a fairly substantial database application for a nonprofit that runs entirely on Macs. i could have a VB application pumped out in about two weeks for this but everything is macs, so i installed MAMP (an apache, mysql, PHP install) on their server and have been using php but this is not really what php is made for. i was wondering if there was...
    See more | Go to post

  • hi Ali

    yes i am using VB2005, sorry i didn't clarify,
    KeyAscii is not Declared i have seen other scripts where it was used but they were all VB v6 the closest thing in VB 2005 is the e variable, but i can't figure out how to use that to change or delete a value in a textbox.
    if you have any ideas i would be grateful

    eric...
    See more | Go to post

    Leave a comment:


  • stopping people from entering non numeric values

    hi all
    i am trying to stop people from entering anything but numbers into a textbox.
    i have the code to make sure they have entered a number on each keypress event and now a msgbox appears if they enter a non numeric value but how do i stop the character from appearing in the textbox.

    here is my code
    Code:
        Private Sub txtA_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
    ...
    See more | Go to post

  • tolkienarda
    replied to while loop with a decrementing counter
    in Java
    Ok

    thanks
    eric...
    See more | Go to post

    Leave a comment:


  • tolkienarda
    replied to while loop with a decrementing counter
    in Java
    hmm i am still having a problem
    i still cannot input my string that is to be reversed.
    and my loop appears to be infinite, i am not sure if that semi colon behind my while statement is correct but i got build errors without it
    here is my entire main() function

    Code:
        public static void main(String[] args) {
        	
        	String line;
        	Boolean cont = false;
        	Boolean rev;
    ...
    See more | Go to post

    Leave a comment:


  • tolkienarda
    replied to while loop with a decrementing counter
    in Java
    thank you all for your help just one more quick question

    is it possible to recall the main() function
    i don't need it for this program but it may be useful sometime in the future

    eric
    See more | Go to post

    Leave a comment:


  • tolkienarda
    replied to while loop with a decrementing counter
    in Java
    ok so i just figured out why my if didn't work i needed the str.equals("y") function. and i kinda gave up on the recursive main function though i would still like to know if it works. anyway i put my code below the declarations into a loop and it works except i am having the save problem that i can't reinput my line variable, not sure why. if any one knows it would be helpful, i read the scanner class documentation and couldn't find anything...
    See more | Go to post

    Leave a comment:


  • tolkienarda
    replied to while loop with a decrementing counter
    in Java
    thanks you guys

    here is how i finaly did it
    Code:
     import java.util.*;
    public class asg5 {
    	
        static Scanner console = new Scanner(System.in);
        public static void main(String[] args) {
        	String line;
        	String again;
        	Boolean rev;
        	int length;
        	int i;
        	System.out.println("Enter a line of text");
        	line = console.nextLine();
    ...
    See more | Go to post

    Leave a comment:


  • tolkienarda
    started a topic while loop with a decrementing counter
    in Java

    while loop with a decrementing counter

    hi all
    i have a with my counter that starts at a value then for each step through the loop it should go down by one. ok the trial data i have when i run this program, and i have checked and rechecked it to make sure that the test data has the expected values

    i=3
    revline[0]=a
    [1]=s
    [2]=d
    [3]=f
    Code:
        		System.out.println(i);
    	    	while(i>=0)
    ...
    See more | Go to post

  • you are officially my hero

    eric
    See more | Go to post

    Leave a comment:


  • tolkienarda
    started a topic Configuring Apache, PHP, and MySQL for Mac OS X
    in PHP

    Configuring Apache, PHP, and MySQL for Mac OS X

    hi all,

    i have been having problems with mamp and i have decided that it probably isn't worth the trouble. problem being that i was relying on that to run a small stupid php mysql program on a mac server. so i think i just want to install apache, mysql, and php seperate i was getting ready to start on this adventure then i realized i didn't know where to start. so i know i need to install the three services but i have no idea how to...
    See more | Go to post
No activity results to display
Show More
Working...