- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
so im working on an app and the tutorial im using to learn the code he uses is depricated for the app version im using. ArrayList<NameValuePair> dataToSend = new ArrayList<>(); dataToSend.add(new ("name", user.name)); dataToSend.add(new BasicNameValuePair("age", user.age + "")); dataToSend.add(new BasicNameValuePair("username", user.username)); dataToSend.add(new BasicNameValuePair("password", user.password)); thats the code im getting and … |
|
im working on a theme build and im having troubble getting the sidebars to appear on the same level as the content, as of right now they are displaying below the main content and they need to be even with the top of it.... any help would be greately appreciated. … |
|
im working on a theme build and im having troubble getting the sidebars to appear on the same level as the content, as of right now they are displaying below the main content and they need to be even with the top of it.... any help would be greately appreciated. … |
|
Is there a program for mac that i can use to connect to my mysql Database instead of opening Fire fox and going in and logging in?? |
|
if run to a delemia when im out of the hosue and not near a net work i want to be able to run on local, but i dont want to have to change the credientials is there a way i can have it try one and if it snt … |
|
for some reason my css it saying that is is missing a simi colon befor the lastnline , but i have looked and yet to see one. if i remove the line it goes away! Any ideas? .nav{ width:80px; height:15px; text-align:center; margin-top:5px; margin-left:3px; float:right; display:inline; padding:10px; background: #c96060; /* Old … |
|
I've looked all over and ive not found a good answer, is there a way you can take your functions and make them in seprate files and call them to the class? it seems no one has tried this or i am ooking in the wrong place |
|
Is there a way when a login button is clicked that it will display a hover over page and show the login form and then once it's logged in then it goes back it if it errors then it displays an error message with out redirecting or reloading the page? |
|
Is there a sleep function for so many seconds in HTML or am I gonna have to use JavaScript |
|
<div class="test" style="color:#fff; width:500px; height:100px;" on onmouseover="style='display:inline;'" onmouseout="<?php sleep(5) {//need a display none here}?>"> <p>Hello All</p> </div> can some one help me please!!! |
|
Addpages.php <?phpclass DivineAddPages { private function DBString($string) { return str_replace(array("''", "\\"), array("''", "\\\\"), $string); } public function Add($link, $title, $content, $comments = true) { $result = mysql_query("SELECT ID FROM wp_posts WHERE post_name = '{$this->DBString($link)}' LIMIT 1"); if ($result) { list($post_id) = mysql_fetch_row($result); } else { $post_id = 0; } $comment_status … |
|
Fatal error: Call to a member function add_content() on a non-object here is my index: <?php include ('lib/connect.php'); include('lib/nav.php'); if($_POST['add']): $obj->add_content($_POST); endif ?> Here is my function: <?php function add_content($p) { $title = mysql_real_eacape_string($p['title']); $body = mysql_real_eacape_string($p['body']); if(!$title || !$body): if(!$title): echo"The Title is required"; endif; if(!body): echo"The Body is … |
|
add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR … |
|
Hey guys I cant seem to figure out what is going on with my cms I have started on making an admin panel and I have done it befroe and now I cant remake it to where it is working correctly? Can I get some help please? this is my … |
|
what coluld cause this->Column count doesn't match value count at row 1 Class: function add_content($p){ $title = mysql_real_escape_string($p['title']); $body = mysql_real_escape_string($p['body']); if(!$title || !$body): if(!$title): echo "<p>The Title is required!</p>"; endif; if(!$body): echo "<p>The body is required!</p>"; endif; echo '<p><a href="add_content.php">Try again!</a></p>'; else: $sql = "INSERT INTO content VALUES(null, '$title', … |