Jump to content

bigmuddyfoot

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bigmuddyfoot

  • Rank
    Newbie
  • Birthday 01/04/1989

Previous Fields

  • Languages
    php, mysql, css, html

Contact Methods

  • Website URL
    http://www.donavonscreativeinnovations.com

Profile Information

  • Location
    Oklahoma
  • Interests
    Computer Sciences, Web Development, Graphic Design, Video Production, Arduino design & Programming.
  1. Thank you for that information. I think i found something that will work. I found a script that will generate a popup window (new browser window) and allow me to navigate to other pages with in that page. so it handles everything i need and i can call action to the close() action to close it out when im done.
  2. Hey everyone! I know this is possible and i bookmarked the code to do this but i can not find it for the life of me. Here is what i need. I am looking for a code that will get new entries (ones that are not all ready on the page) from mysql db then display them on the current page with out refreshing. I am just wanting a simple one. I just want it to display the data in a new div with in a existing div. My server does NOT support ajax, can any one help me please!?
  3. Hey guys. I need a little help. I am working on a site that is requiring me to do something a little fancier then i know how to do. let me explain. When my web admin is loged in to there is and they are editing a page (say there home page) and they want to add content to there home page. They would do the following. (see picture attachment as well.) Click the Add content div (div with a + symbol in it) A Pop up comes up asking them what kind of content would you like to add. (text, picture. html) User selects a option (text for this example) the popup window now changes to a fo
  4. I have posted there just waiting on a responce from them. Thought i would give here a try. The problem with changing the orderby it does it by the mysql db and not the event date...The event date is in a special field.
  5. It is a wordpress function there is an include file that handles this. The code i posted does work just dont know how to handle the ordering portion.
  6. Hey everyone here is what i have so far..... <?php$posts = get_posts('numberposts=10&order=DESC&category=68&orderby=post_title');foreach ($posts as $post) : start_wp(); ?><?php echo "<hr>"; ?><?php echo the_event_end_date( $id, $showtime, $dateFormat); ?><?php echo "<hr>"; ?><?php the_title(); ?><?php the_excerpt(); ?><?phpendforeach;?> I need the the_excerpt and the the_title to sort in order from soonest to later. (event happening soonest to the one happening later that year)This code the_event_end_date( $id, $showtime, $dat
  7. My bady on the $_GET, On my hosting server it works ether wayand as for the link i never had a problem with it when i have used it this way... I find it works very well. Seams like using a <div> inside of a <a href=""> would be no different then an <img> but i guess you can move the <a href=""> to inside the div it really does not mater works the same.
  8. Ok still not working here is what i have <form name="input" action="submit.php" method="POST"><?$var=$_GET['total'];$i=1;while($i<=$var) {?>Field 1: <input type="text" name="fname[<? echo $i; ?>]">Field 2: <input type="text" name="lname[<? echo $i; ?>]">Field 3: <input type="text" name="phone[<? echo $i; ?>]"> <? $i++; } ?> <input type="hidden" name="count" value="<? echo $_GET['total']; ?>"> <input type="submit" value="Submit"> </form> <?$con = mysql_connect("localhost","*************","*********
  9. I cant seam to get it to work what am i doing wrong?The script runs and does not error out, but nothing is saved to the db Here is my submit.php page (this saves it to the db) <?php$con = mysql_connect("*********","**********","**********!");if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("donavons_class_schedule", $con);$query = 'INSERT INTO felds (one, two, three) VALUES ';foreach($_POST['text'] as $t) { $query .= "($t),";}// Remove the last comma$query = substr($query, 0, -1);mysql_close($con);?> Here is the index.php page (the page with the forum
  10. Ok, I think i have this right? <?$var=$_GET['total'];$i=1;while($i<=$var) {?> Field 1: <input type="text" name="text[]">Field 2: <input type="text" name="text[]">Field 3: <input type="text" name="text[]"> <? $i++; } ?> Then to retrive them i use <? foreach($_POST['text'] as $t) { $query .= "($t),";}echo $query;?> What i dont under stand is this.here is mysql *******************************************************************|id| |fname| |lname| |startd| |datee| |night||1| |Kelly | |Hansen| |102412| |103012| |M||2| |matt | |
  11. If im understanding right you could do something like the following. <!DOCTYPE html><html><style>.btnopt {background: 000000;width:100px;float:left;border:1px solid red}</style><body><p>This is a paragraph. This text has no alignment specified.</p><a href="index.php?btn=1"><div class="btnopt">Btn 1</div></a><? if($_get['btn']==1){?>Text and div here...<?}?><a href="index.php?btn=2"><div class="btnopt">Btn 1</div></a><? if($_get['btn']==2){?>Text and div here...<?}?><a href=
  12. Foxy Mod Thank you for your help just to make sure i understand right the code below where the text[] is that will change automatically to text0 text1 text2 and so on? Field 1: <input type="text" name="text[]">Field 2: <input type="text" name="text[]">Field 3: <input type="text" name="text[]"> And $query = 'INSERT INTO table (field) VALUES ';foreach($_POST['text'] as $t) { $query .= "($t),";}// Remove the last comma$query = substr($query, 0, -1); This will just save every thing as a new row in mysql
  13. Hello everyone!I have a few questions, I have taken on a project this week that is kinda complex. My first question regarding this script is this: I am going to have a forum with a few drop downs text fields and text boxes and check boxes/selections. for this example lets say there is a total of 12 elements (from the above list) Thats the easy part no what i need to do is. I am going to have a $var that can be anything from 1 to 150, now i need the forum drop downs text fields, text boxes and check boxes/selections to repeat with in that forum for the amount of $var. Then when all that info i
×
×
  • Create New...