Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for aseel_1

Hi all ; please help me what is the expected problem in this code ??! function SearchGrid($query,$updateOk=FALSE,$DeleteOk=FALSE) { $tbl.="<script> var prev=1; function HighLightRow(rowno){ if (rowno%2==0) tblsearch.rows[prev].bgcolor='#66FF99'; else tblsearch.rows[prev].bgcolor='#CCCC99'; tblsearch.rows[rowno].bgcolor='white'; prev=rowno; } </script> "; $result=mysql_query($query); $tbl.="<table id=tblsearch align =center border=0 > <tr bgcolor=gray>"; $RowNum =mysql_num_fields($result); //name of field :) .... for($col=0;$col<$RowNum;$col++) …

Member Avatar for iamthwee
0
196
Member Avatar for aseel_1

s their an error in this code ?? !! it display Image uploded successfully but it isn't !!!!!!! if(isset($_POST['submit'])) { $query="insert into POST (Title,SubTitle,PostDetail,PDay,PMonth,PYear) values('$_POST[_title]','$_POST[_subtitle]','$_POST[_detail]',". date("d").",".date("m").",".date("y").")"; //echo $query; mysql_query($query); $msg="post added sucsessfully"; if($_FILES['_postimage']['tmp_name']!= "") { move_uploaded_file($_FILES['_postimage']['tmp_name'] ,$_SERVER['DOCUMENT_ROOT'].'/Aseelblog/POST_imgs/a.jpg'); $msg.="</br>Image uploded successfully"; //DOCUMENT_ROOT=/var/www/example ///// } else { $msg.="image File too large or …

Member Avatar for veedeoo
0
154
Member Avatar for aseel_1

Suppose I have a tow SQL tables: Fathers id | name ------------- 1 | Clinton 2 | Gates 3 | Bush 4 | Clinton Sons id | fatherid | name --------------------- 1 | 1 | bill 2 | 1 | suzy 3 | 2 | mera 4 | 2 | …

Member Avatar for filipgothic
0
207
Member Avatar for aseel_1

Salam all :) anyone can help me to understand this query in venn diagram SELECT e.id, e.name FROM emp e INNER JOIN deptid D_X ON e.empid = d_x.empid AND deptid = 'X' LEFT JOIN deptid D_Y ON e.empid = d_Y.empid AND deptid = 'Y' WHERE d_Y.empid IS NULL

Member Avatar for diafol
0
80
Member Avatar for aseel_1

Hi all , i have 2 tables first one called emp have 2 columns id and name second one called dep have id and empid and nameOfDep if i want to list all emp that have X dep (But they don't have) Y dep how i can make it ? …

Member Avatar for aseel_1
0
173
Member Avatar for aseel_1

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" type="text/javascript"> Function validate () { var str=true; document.getElementById("name").innerHTML=""; document.getElementById("username").innerHTML=""; document.getElementById("pass1").innerHTML=""; document.getElementById("pass2").innerHTML=""; document.getElementById("email1").innerHTML=""; document.getElementById("web").innerHTML=""; if(document.frm.nameTxt.value=='') { document.getElementById("name").innerHTML="Please Enter your name"; str=false; …

Member Avatar for aseel_1
0
304
Member Avatar for aseel_1

Hi all , I am a new in PHP my code don't save information in db and password confirmation code doesn't work correctly this is my simple code : <?php // decleration for varible $name=$_POST['nameTxt']; $username=$_POST['userNameTxt']; $passTxt=$_POST['passTxt']; $passConTxt=$_POST['passConTxt'] ; $email=$_POST['email']; $website=$_POST['website']; $errors=0; $submit=$_POST['btn_done']; // connection to mysql $con=mysqli_connect('localhost','root','root'); if(!$con){ die('Could …

Member Avatar for aseel_1
0
393