Search found 53 matches

by shiranwas
Tue Aug 15, 2006 11:55 pm
Forum: PHP - Code
Topic: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_
Replies: 7
Views: 415

parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_

Everah | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] prase e...
by shiranwas
Tue Aug 15, 2006 7:02 am
Forum: Javascript
Topic: pass a cell value
Replies: 2
Views: 720

pass a cell value

hi,

I am having a page with a table which is created dynamically. I have 2 problems
one is how to identify which row the user clicks and send the cell value to a new page

thanks in advance
by shiranwas
Tue Aug 15, 2006 4:18 am
Forum: PHP - Code
Topic: hyperlink
Replies: 6
Views: 1169

thanks
by shiranwas
Tue Aug 15, 2006 1:36 am
Forum: PHP - Code
Topic: hyperlink
Replies: 6
Views: 1169

no i call session_start() only in the page where i have the session variable
by shiranwas
Tue Aug 15, 2006 1:25 am
Forum: PHP - Code
Topic: hyperlink
Replies: 6
Views: 1169

hyperlink

Hi, I have a html page with hyperlinks, i have use a session variable for user id, but this variable does not carry a value to the page it directs when i clik a hyperlink, but it works in the page i have mentioned in the form tag <form method="POST" action="complaintrdata.php"> t...
by shiranwas
Wed Aug 09, 2006 5:12 am
Forum: PHP - Code
Topic: Warning: Cannot send session cookie - headers already sent b
Replies: 4
Views: 213

thanks
by shiranwas
Wed Aug 09, 2006 5:00 am
Forum: PHP - Code
Topic: Warning: Cannot send session cookie - headers already sent b
Replies: 4
Views: 213

what u sent is not relavent to my problem, it talks about something else
but i want is about seessions

i think i have place the on a wrong plase the session start can u tell me where to put session start(between whih html tags)
by shiranwas
Wed Aug 09, 2006 4:42 am
Forum: PHP - Code
Topic: Warning: Cannot send session cookie - headers already sent b
Replies: 4
Views: 213

Warning: Cannot send session cookie - headers already sent b

i tried to work out some session variable,
i get this warning why i get this,


Warning: Cannot send session cookie - headers already sent by

shiran
by shiranwas
Wed Aug 09, 2006 2:51 am
Forum: PHP - Code
Topic: php radio
Replies: 3
Views: 305

it 's working
thanx
by shiranwas
Tue Aug 08, 2006 8:16 am
Forum: PHP - Code
Topic: php radio
Replies: 3
Views: 305

php radio

hi,

i have a field called "rejected" in a table datatype enum('N','Y')
i want to check a radio button if the value is 'Y' how to do this

this is my html tag for radio button

<input name="optFrom" type="radio" value="Rejected" >



thanks

shiran
by shiranwas
Tue Aug 08, 2006 3:29 am
Forum: PHP - Code
Topic: textarea value
Replies: 2
Views: 206

thanks alot (Pimptastic)
by shiranwas
Tue Aug 08, 2006 2:56 am
Forum: PHP - Code
Topic: textarea value
Replies: 2
Views: 206

textarea value

Pimptastic | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] hi,...
by shiranwas
Tue Aug 08, 2006 2:40 am
Forum: PHP - Code
Topic: list box
Replies: 2
Views: 205

it works
thanks
by shiranwas
Tue Aug 08, 2006 2:10 am
Forum: PHP - Code
Topic: list box
Replies: 2
Views: 205

list box

hi, this is my coding to add dynamically to a list box <?php function loadDept(){ include('Conn.php'); $sql="Select deptName from tblDepartments order by deptName"; $query=mysql_query($sql) or die ("Deparments can not be loaded."); while($row=mysql_fetch_assoc($query)){ $arrDepar...
by shiranwas
Tue Aug 08, 2006 2:06 am
Forum: PHP - Code
Topic: check box
Replies: 4
Views: 307

thanks it woks now there was a html error as u said