Jump to content

jerry89

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jerry89's Achievements

Member

Member (2/5)

0

Reputation

  1. my php knowlegne isnt on that lvl to make stat counter. ;(
  2. Hi , I'm wondering if anyone knows about stat counter , that can be installed on back end of website, with MySql. or anyway that would monitor the hits and where is from. I know I can use the stat coutner website. I like to have it on the webiste Thanks a lot
  3. http://www.asp.net/AJAX/AjaxControlToolkit/Samples/DropDown/DropDown.aspx I found this , I wonder if I can find something similar for php. Thanks
  4. Learn SQL. EDIT: Once you get the basics down you should learn Normalization of SQL (3rd Normal Form). Here is description about auto_incrementing It works Thank you so much Thank you so much
  5. I will look at some SQL tutorials. I tryed the way you send it , says "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys = 'test' LIMIT 1' at line 1" Em do I need to put the keys as "auto_incremt with primary key" I am very sorry
  6. only 1 field " that is keys " no other fields
  7. The table structure is just database name , and one table " test=> keys" thats all .. so if I put keys as primary key. and where include the $_post['content'] I am very sorry , I am beginer in php
  8. So how do I do it, that it updates the database from the text area ? I just looked on the php admin and try update from there. so its gives me this UPDATE `test` SET `keys` = 'test' WHERE CONVERT( `test`.`keys` USING utf8 ) = 'test' LIMIT 1 ; and when I try it , it wont update after I try do in browser
  9. Hi, I have problem with UPDATE, when I press update, it just refresh the page, and wont update it. I cant see whats wrong <?php require_once("../includes/connection.php"); ?> <?php // FORM PROCCESS if (isset($_POST['submit'])) { $query = "UPDATE `meta` SET `keys` = '$keys' WHERE keys = '$keys' LIMIT 1 "; $result = mysql_query($query); if (mysql_affected_rows() == 1) { $message = "Update succesfull"; } else { $message = "There is problem"; $message = "<br />" .mysql_error(); } } // END OF PROCCESS ?> <?php $sql = "SELECT * FROM meta"; $result = MYSQL_QUERY($sql); $numberOfRows = mysql_num_rows($result); if ($numberOfRows==0) { echo "Sorry. No records found !!"; } else { $row = mysql_fetch_array($result); $keys = $row['keys']; } ?> <FORM action="meta.php" method="post"> <p>Edit:<br /> <textarea name="content" rows="10" cols="40"><?php echo $keys; ?></textarea> </p> <input type="submit" name="submit" value="Update Page" /> <br /> <?php echo $message; ?> </FORM> Hope you can help me
  10. I was trying to do it, but didnt get to the end. I made new table in database , which I could succesfully echo out the content, then I try to edit it, which I had almost done but something didnt let me update. and then when its done. I want to echo it out in head tag. Which should end the task, and I shuld have it working. I will trying again.
  11. Hi, I got one script its for 3 at the moment, but I belive you can make it for more. [attachment deleted by admin]
  12. okey sorry about my English. 1st. I have CMS, which I have builded and I'm using it as practise for my php knowledge. Now I am trying to edit Meta Keys and Description from Admin page. "As it would save the time to look for the page where are MK and MD" So I'm wondering if its possible to do , and how ? That's all, hope you can understand what I mean
  13. Hi, there. I want to be able to edit "meta keys&description" in my CMS. If anybody can tell me if its right what i want to do. insert MK & MD to DB , and then get it by sql in the <head></head> ? or nope? also I want to do.. "in count down script, to be able to edit from admin page. so would it be the same way ? just echo somewhere else ? Thanks
  14. it will be basically just one image as to show profile.. or which othery way I can do it?
  15. okies... let's say.. "when you create new user, i will make field, that is for upload / it will be linked to the database that is created for it".. This should work , right ?
×
×
  • 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.