Jump to content

Redlightpacket

Members
  • Posts

    68
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Redlightpacket's Achievements

Member

Member (2/5)

0

Reputation

  1. I have looked up on the web for some good tutorials, so I haven't really found any "SIMPLE ONES". I'm looking for a good simple tutorial on how to make your page continue and continually load data when you scroll down the page. Will need ajax to pull some data from the database. I looked at 9Lessions tutorial on page load data jquery, but it's pretty complex. I tried to make it work in an example and it didn't work. But, all I'm looking for is a very simple tutorial on how to make a page load data jquery. Thanks..............
  2. Any help would be nice.....really looking for the holy grail of jquery debugging.......like the best html editor is Adobe Dreamweaver.......A compiler would be nice for Jquery if it was easy to do....Thanks for the help, Chris
  3. Try this, this way works for me $query = "SELECT * FROM Cards"; $result = mysql_query($query) or die("Query failed: " . mysql_error()); while ($row = mysql_fetch_assoc($result)) { //Prints the id numbers in the table. The id numbers go from 1 and forever //You will need to set a primary key and it will be the primary id number in your mysql table echo $row['id']; //Prints row numbers }
  4. Not really sure what you are talking about a little bit. But this is where I would start. Hopefuly this might help you some way. <?PHP $query = "SELECT * FROM Cards"; $result = mysql_query($query) or die("Query failed: " . mysql_error()); while ($row = mysql_fetch_assoc($result)) { $Cards_ID[1] = $row['Cards_ID']; $Cards_MemberID[1] = $row['Cards_MemberID']; $Cards_Card[1] = $row['Cards_Card']; $Cards_DateTime[1] = $row['Cards_DateTime']; } Array ( [889557275612] => Array ( [0] => Array ( [Cards_ID] => 51 [Cards_MemberID] => 889557275612 [Cards_Card] => 308292114653 [Cards_DateTime] => 1969-12-31 18:00:00 ) [1] => Array ( [Cards_ID] => 51 [Cards_MemberID] => 889557275612 [Cards_Card] => 308292114653 [Cards_DateTime] => 1969-12-31 18:00:00 ) ?>
  5. Excuse me, GET[] ---------->>> GET
  6. I believe you need to check out the GET[].
  7. I tell you this, I had a problem with my broswer not doing sessions right and somebody on here told me to change your session settings in your php.ini file. I think you need to enable sessions and cookies settings.
  8. I'll try that, but I'm not sure it will work, but will give it a try any way
  9. I'm trying to make a profile page like on social networks and I can't get the id=333334444 to stay at the top of the page or in the query string when I send post a message. I want the id=3333334444 to stay in the query string all the time when i'm on the certain user profile page, for example like when I post a message on the profile page. This stuff has been a little tricky to figure out. But I need a little documentation on this subject or something that will help me. Thanks a lot, ~~~~Chris Clark
  10. I am really puzzled how to work with these. I need a good information source that covers this topic broadly. I know the basics how query strings work and how to use them, but I need more information how to use them.
  11. Here is my error message I get. 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 '[1] = 'listen'' at line 1 Some how it won't write data in the first and next and next fields in my database table. //Trying to make this data go into the database table. //SET $column=array("listen","date","message"); $value=array("listen","date","message"); //WHERE $column2=array("video","listen","date"); $value2=array("video","listen","date"); $counts = 1; while($counts < 4) { $counts = 0 + $counts; $n = 1; $n2 = 1; $n = 0 + $n; $n2= 0 + $n2; $result = mysql_query("UPDATE _0_sermon_data_file SET $column[$n] = '$value[$n]' WHERE column2[$n2] = '$value2[$n2]'") or die(mysql_error()); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  12. I need this script to be basic so I can understand it. Thanks, Chris
  13. Some how the line below will not work. I'm trying to make the current date input into the database when I insert data into the database. $query = "CREATE TABLE IF NOT EXISTS _0_calendar_data(id SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY, news TEXT(1200), date INT(30), date2 INT(30))"; //The one right here needs attention $result = "INSERT INTO _0_calendar_data(id, news, date, date2) VALUES (NULL, '$news', 'YEAR: Auto CURDATE()', CURDATE())";
  14. I really need a book that has some pagnation examples in it. I can't figure out how to get the pagnation examples working on the internet. I would highly appreciate anybody's help on this matter. Thanks, Chris
  15. Ok, Please read more into this question than it is acually it is. What I want to do is make my sentence on the screen break line by line in a table when I have data to display. I have written a little code to try to do this, but it seems to hard and complicated. What I was wondering does cakePHP provide a function that does this. If not can you give me some code or another framework that could cut out all of the work to reinvent the wheel. I would dearly appreciate your help.
×
×
  • 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.