Jump to content

inztinkt

Members
  • Posts

    21
  • Joined

  • Last visited

    Never

About inztinkt

  • Birthday 09/30/1987

Contact Methods

  • MSN
    msn@inztinkt.com
  • Website URL
    http://www.Inztinkt.com

Profile Information

  • Gender
    Male
  • Location
    Cyprus ( OnThisIsland )

inztinkt's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. anytime, set as solved, and have a nice day :)
  2. do a [s]google[/s] search for linux function wget ;) sorry forgot i couldnt use their name unless i was sure u would use their search engine as stated [url=http://googleblog.blogspot.com/2006/10/do-you-google.html]here[/url]
  3. ok on the form.php dont use sessions, unless theres a specific reason why you want to, like keeping the values over many pages, u can use $GET on the link back to form.php make it like this... [code] echo "</ul><br />To go back to Info Management, <a href=\"form.php?cartname=$cartname&ccountry=$ccountry&cprovince=$cprovince&ccity=$ccity\">click here</a>."; [/code] etc... and then do an if (isset(... to show if they have changed
  4. Article : http://www.sitepoint.com/article/rotate-content-with-dhtml Code : http://www.dynamicdrive.com/dynamicindex2/prohtmlticker.htm
  5. anytime... glad to have helped you. like many helped me here in the past :)
  6. hehe :) ok so you want these to be shown on form.php when they click the link that says "click here"?
  7. ok does that page display what is changed ? does it work?
  8. thorpe he is looking for a text rotator. jwk811 what you are looking for is a combination of JavaScript, possible mixed with PHP and if done  dynamically without refreshing the rest of the page, what it is referred to is AJAX (Asynchronous JavaScript and XML). now what you need to decide is the next step, are the paragraphs you want to rotate, going to be all loaded when the page opens or do you want to load a different paragraph every few seconds?
  9. my friend, you are calling the variables from the database 2 lines before u try update them at [code] <?php //include("connect_to_db.php"); //$query = "SELECT * FROM journal_publications where id=$id"; //$result = mysql_query($query); //ifset($edit); //$result = mysql_query($query); $id=mysql_query("select id from journal_publications where id=$edit"); $authors=mysql_query("select authors from journal_publications where id=$edit"); $title=mysql_query("select title from journal_publications where id=$edit"); $state=mysql_query("select state from journal_publications where id=$edit"); $place=mysql_query("select place from journal_publications where id=$edit"); $userfile=mysql_query("select userfile from journal_publications where id=$edit"); if($_POST['submit']) { $sql = mysql_query("update journal_publications set authors='$authors' ,title='$title', state='$state', place='$place', userfile='$userfile' where id='$edit'"); //echo "$sql"; $result = mysql_query($sql); [/code] try changing the variables in the query from lets say $authors to $_POST[authors] and it should work...
  10. simple, [b]comment out[/b] the whole mysql block and add this : [code] $dbh=mysql_connect ($dblocation, $dbusername, $dbpassword) or die(mysql_error()); $rs=mysql_query($sql,$dbh) or die (mysql_error()); [/code] showing us the errors in mysql, post back with wat it says
  11. alwaysinit, why not replace the session variables instead of unsetting and resetting them?? and redirect them to the form, not send them back.
  12. ok lets go back to the original scenario, in [b]functions.php[/b] change the line where it includes config.php to include it remotely like so : [code] include "/config.php"; [/code] and in [b]file.php[/b] change the include to look like this [code] include "/functions.php";[/code] this should work, fingers crossed :P
  13. ok wait u have two folders /www/ and /www/admin/ WHERE is the file you are working on and WHERE is the file you want included ? :) i iz confuzzled :P
  14. start by having a look at [url=http://www.phpfreaks.com/tutorials/142/0.php]http://www.phpfreaks.com/tutorials/142/0.php[/url]
  15. [quote author=thorpe link=topic=123378.msg509820#msg509820 date=1169394171] [code=php:0] include '../yourinclude.php'; [/code] [/quote] this will work
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.