Web Development
Member Avatar

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; …
Topic by aseel_1

im not expert in english ^_^ thanks for your advice "iamthwee"

Web Development
Member Avatar

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; …
Web Development
Member Avatar

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; …
Topic by aseel_1

thanks all :) solved ^_^

Web Development
Member Avatar

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; …
Topic by aseel_1

like ?

Web Development
Member Avatar

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; …
Web Development
Member Avatar

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; …
Web Development
Member Avatar

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 …
php
Web Development
Member Avatar

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 …
php
Web Development
Member Avatar

Suppose I have a tow SQL tables:
Fathers

id  |  name    
-------------  
1   | Clinton
2   | Gates
3   | Bush
4   | Clinton

Sons

id | fatherid | name …
Web Development
Member Avatar

Suppose I have a tow SQL tables:
Fathers

id  |  name    
-------------  
1   | Clinton
2   | Gates
3   | Bush
4   | Clinton

Sons

id | fatherid | name …
Web Development
Member Avatar

Suppose I have a tow SQL tables:
Fathers

id  |  name    
-------------  
1   | Clinton
2   | Gates
3   | Bush
4   | Clinton

Sons

id | fatherid | name …
Web Development
Member Avatar

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 …
Web Development
Member Avatar

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 …
Web Development
Member Avatar

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 …

Topic by aseel_1

and if i want to display all dep(son) with emp(father)
every son with father name
nameOfDep empname
?

Web Development
Member Avatar

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 …

Web Development
Member Avatar

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 …

Topic by aseel_1

Thanks all for your time ^_^
useful comments

Web Development
Member Avatar

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" …
Web Development
Member Avatar

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" …
Topic by aseel_1

SOLVED ^_^

Web Development
Member Avatar

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" …
Topic by aseel_1

Thanks all for useful comments ^_^

Web Development
Member Avatar

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 …

Web Development
Member Avatar

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 …

Web Development
Member Avatar

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" …
Topic by aseel_1

it is go to insertData.php without run js code :(

Web Development
Member Avatar

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" …
Web Development
Member Avatar

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" …
Web Development
Member Avatar

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 …
Web Development
Member Avatar

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 …
Topic by aseel_1

Thanks all for your time :)

Web Development
Member Avatar

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 …
Topic by aseel_1

no problems in DB ,,, i found it
i changed this st.
if(0 !==strcmp($_POST['passTxt'], $_POST['passConTxt']))
with this:
elseif($_POST['passTxt']!=$_POST['passConTxt'] )

and this
if(0===$errors)
with
if(0==$errors)

it's work now ^_^

Web Development
Member Avatar

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 …
Topic by aseel_1

Thank you i fixed it but still not adding to db :( !

Web Development
Member Avatar

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 …
Web Development
Member Avatar

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 …