gijs25
-
Posts
9 -
Joined
-
Last visited
Never
Posts posted by gijs25
-
-
[code]
$c_meal = count($_POST['meal']);
$a_meal = $_POST['meal'];
$a_chef= $_POST['chef'];
etc etc
for (i=0; $i>=$c_meal; $i++){
$sql="insert into table (meal, chef, recipie) values ($a_meal[$i], $a_chef[$i] etc etc;
}
[/code]
hope this helps -
Question:
Why do you want to use xml if you have a mysql connection?
And take a look at this:
[a href=\"http://nl2.php.net/manual/en/function.flock.php\" target=\"_blank\"]http://nl2.php.net/manual/en/function.flock.php[/a]
-
and don't double post!
-
well we can't do jack for you by just looking at the html of your files could you please post the code.
or create files with the following extention form.phps should show the code
Thanks -
[a href=\"http://nl2.php.net/manual/en/function.getimagesize.php\" target=\"_blank\"]http://nl2.php.net/manual/en/function.getimagesize.php[/a]
-
Try this:
<input type="text" name="chef[]" size=40>
<input type="text" name="chef[]" size=40>
<input type="text" name="chef[]" size=40>
<input type="text" name="chef[]" size=40>
<input type="text" name="chef[]" size=40>
<input type="text" name="chef[]" size=40>
after posting to a php page
echo "<pre>";
print_r($_POST);
And you will see the posting results as an array.
Pretty simple
-
Hello,
I am trying to get an arab string $html = 'ل مسؤول أميركي رفيع إن الرئيس الأميركي جورج بوش سيحث رئي '; to view on a webpage. If i put the string directly in the html it shows correctly. but when getting it from a variable i just get a string witgh question marks ?????? ??? ????.
I also changed some settings in my php.ini but no luck either. does anybody know's how i can make this happen?
i noticed that it workes at this server.
thanks in advance.
below the php.ini settings
[code]
; language for internal character representation.
mbstring.language = Neutral
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding = UTF-8
; http input encoding.
mbstring.http_input = pass
mbstring.http_input = auto
mbstring.http_input = UTF-8
mbstring.http_input = UTF-8, SJIS, EUC-JP
mbstring.encoding_translation = On
; http output encoding. mb_output_handler must be
; registered as output buffer to function
mbstring.http_output = pass
mbstring.http_output = UTF-8
; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
mbstring.encoding_translation = On
; automatic encoding detection order.
; auto means
mbstring.detect_order = auto
mbstring.detect_order = ASCII, UTF-8, SJIS, EUC-JP, JIS
[/code]
I noticed after viewing the source of my post a came across these encode arab letters.
ل مسؤول أميركي رفي
with what function can i do this?
Thanks -
Hello,
Sorry this is not really a php question but i am trying to use it in php :) the problem, i am using jedit with a sftp plugin for developing and uploading, when using the font "times new roman" the arabic text is correctly displayed, i inserted the following line in my html page for the correct display on the web.
<Meta Http-equiv="Content-Type" Content="Text/html; charset=windows-1256 ">
That should be working, but somewhere between my computer and the tranfer to the server something goes wrong. I tryed my F-secure ssh program but still no success.
I am just getting allot of questionmarks back... how ironic :)
is there somebody who has some experiance with this?
Thanks in advance.
Question on fopen, fwrite..
in PHP Coding Help
Posted
[a href=\"http://nl3.php.net/manual/en/function.microtime.php\" target=\"_blank\"]http://nl3.php.net/manual/en/function.microtime.php[/a]
create a microtime var at the beginning and the end and write it to the file then you know