• Member Avatar
    albucurus

    Began Watching Error in showing latest news or post in php

    Hello, i am new to php and from this project i have started my php learning so first of sorry if my question is simple to ask but its difficult …
  • Member Avatar
    albucurus

    Replied To a Post in Error in showing latest news or post in php

    Try this: <? php include("includes/connect.php"); $select_posts = "select * from posts order by rand() LIMIT 0,2"; $run_posts = mysql_query($select_post); while($row=mysql_fetch_array($run_post)){ $title = $row ['post_title']; $date = $row ['post_date']; $author = …
  • Member Avatar
    albucurus

    Began Watching Two Variables

    I'm doing this $query = mysql_query("SELECT M.msg_id, M.uploads, M.message, M.description, M.type, M.text, M.views_count, U.username, C.name as country_name FROM users AS U INNER JOIN messages AS M ON U.uid = M.uid_fk …
  • Member Avatar
    albucurus

    Replied To a Post in Two Variables

    hericles give you the right answer.
  • Member Avatar
    albucurus

    Began Watching Why my data does not display?

    I need to create a system that requires the process to add, edit, delete, and view. I have some problems with editStaff.php, I can edit the data, but it does …
  • Member Avatar
    albucurus

    Replied To a Post in Why my data does not display?

    Hi, Because in form definition you use method = "post" but, in your code you fetch $idURL using $_GET. Change `$idURL = $_GET['id'];` with `$idURL = $_POST['id'];` or the form …
  • Member Avatar
    albucurus

    Began Watching PHP WITH JS validate Not work correctly :( !

    Hi all why this code doesn't work correctly but php validate without js work correctly and js without php validate work correctly ?! form.php <html> <head> <title>Registration Form</title> <script language="JavaScript" …
  • Member Avatar
    albucurus

    Replied To a Post in PHP WITH JS validate Not work correctly :( !

    Hi, Because you have some errors in your code: 1 `<script language="JavaScript" type="text/javascript">` replace with `<script type="text/javascript">` 2 `Function validate ()` replace with `function validate()` Function isnt a keyword for …
  • Member Avatar
    albucurus

    Began Watching build menu list from array

    Hi I have a flat array listed in the format below: id parent tag htmlcontent 2-0 null li |home| 1-0 2-0 ol 0-0 1-0 li |about| 6-0 null li |a| …
  • Member Avatar
    albucurus

    Replied To a Post in build menu list from array

    Hi, Try this please ! <?php $arrayName[0] = array('id' => '2-0', 'parent' => 'null', 'tag' => 'li', 'name' => 'home' ); $arrayName[1] = array('id' => '1-0', 'parent' => '2-0', 'tag' …
  • Member Avatar
    albucurus

    Began Watching center php table horizontally on screen

    I have a table that extracts data from a mysql database, I want the table to be centerd on the screen. I have used text-align: center; but obviously it only …
  • Member Avatar
    albucurus

    Replied To a Post in center php table horizontally on screen

    Here is a simple: <style> .tableOuter { text-align: center; } .tableInner { text-align: center; margin-left: auto; margin-right: auto; background: blue; } #mytable { margin-left: auto; margin-right: auto; background-color: yellow; } …
  • Member Avatar
    albucurus

    Began Watching __construct use in OOP By php

    <?php /* @Author: Hannan_Mondul php() 2014 */ //use construct class Car { public $name; public $band; public $spreed; public function __construct($name="Unkown",$band="Unkwon",$spreed=40){ $this->name = $name; $this->band = $band; $this->spreed = $spreed; …
  • Member Avatar
    albucurus

    Replied To a Post in __construct use in OOP By php

    What is the problem ?
  • Member Avatar
    albucurus

    Began Watching library management system

    hi programmer do a c++ project on library management system that enable search,update,add,delete and display data from it.
  • Member Avatar
    albucurus

    Replied To a Post in library management system

    Here an example: http://www.cppforschool.com/project/library-management-system.html
  • Member Avatar
    albucurus

    Began Watching scientific calculator

    write a c++ project of scientific calculator
  • Member Avatar
    albucurus

    Replied To a Post in scientific calculator

    Here some examples: http://cppprojectcode.blogspot.com/2010/09/make-scientific-calculator.html http://www.mycplus.com/source-code/c-source-code/graphical-scientific-calculator/ www.youtube.com/watch?v=_EGGbe0yP60
  • Member Avatar
    albucurus

    Replied To a Post in coding

    Try this http://www.softwareandfinance.com/Turbo_CPP/Text_Mode_Grid.html
  • Member Avatar
    albucurus

    Began Watching coding

    woud you show me how to draw table using C++ Code?
  • Member Avatar
    albucurus

    Replied To a Post in coding

    Look here http://www.softwareandfinance.com/Visual_CPP/TextMode_Grid.html It's an example how to draw a text mode table.
  • Member Avatar
    albucurus

    Began Watching print array

    Hi, I have an array as: $data = array ( array ('add1','add2','May 2014','ascascascasc',160), array ('Framework','hii','May 2014','ascascasc',161 ), array ('Framework','test framework 1','May 2014','asdasdasd',159 ) array ('Framework','test framework','May 2014','asdasdasd',149 ) array ('OS','other …
  • Member Avatar
    albucurus

    Replied To a Post in print array

    Hi, Try this simple: <?php $data = array ( array ('add1','add2','May 2014','ascascascasc',160), array ('Framework','hii','May 2014','ascascasc',161 ), array ('Framework','test framework 1','May 2014','asdasdasd',159 ), array ('Framework','test framework','May 2014','asdasdasd',149 ), array ('OS','other OS …
  • Member Avatar
    albucurus

    Began Watching can php and java script exchange data?

    hello.. can php and java script exchange data??
  • Member Avatar
    albucurus

    Replied To a Post in can php and java script exchange data?

    Hi, PHP run on server side, Javascript run on client side. They cant exchange data directly, but you can use AJAX to send data from client to server with javascript …
  • Member Avatar
    albucurus

    Began Watching php and mssql log in problem

    hi i created login page using php and mssql but i got an error **"Fatal error: Call to undefined function mssql_query() "** **heres my log in code** <form name="log" action="log_action.php" …
  • Member Avatar
    albucurus

    Replied To a Post in php and mssql log in problem

    hi, Try to read this first: http://msdn.microsoft.com/en-US/library/cc793139%28v=SQL.90%29.aspx Try to use sqlsrv_query() instead mssql_query().
  • Member Avatar
    albucurus

    Began Watching Convert Fahrenheit to Celsius

    Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter …
  • Member Avatar
    albucurus

    Replied To a Post in Convert Fahrenheit to Celsius

    Read this link: http://www.w3resource.com/javascript/form/all-numbers.php
  • Member Avatar
    albucurus

    Replied To a Post in JSP script variable query

    In this case JorgeM give you the right solution.

The End.