Login Register


Using AJAX? filter_list
Author
Message
RE: Using AJAX? #11
Here is the code:

Code:
<?php session_start(); mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db("quackbook") or die(mysql_error()); if(isset($_SESSION["user"]) === FALSE){ header("location: index.php"); } $find = "SELECT Firstname,Post FROM wall LEFT JOIN info ON info.Username=wall.Username"; $arrow = mysql_query($find); $array = array(); $i = 0; $j=0; while($fire = mysql_fetch_array($arrow)){ $array[$i] = $fire; $i+1; } echo json_encode($array[$i]); ?>

Reply

RE: Using AJAX? #12
@troy_odyssey34, could you please use the BB code tags for your code?

Just type [Xcode] [/Xcode] around it without the X's.

Example:

Code:
Hello, world.

Reply

RE: Using AJAX? #13
@troy_odyssey34, could you please use the BB code tags for your code?

Just type [Xcode] [/Xcode] around it without the X's.

Example:

Code:
Hello, world.

Reply







Users browsing this thread: 1 Guest(s)