if (empty($value)) { ... }
On Wed, 1 Aug 2001, Craig Vincent wrote:
>
> > When a field is declared as an integer, not null and is the primary,
> > how would I address it's empty set?
> >
> > ex: if($value == ???)
> > {
> > bla
> > bla
> > bla
> > }
>
or:
$my2darray[] = $row;
SSL
On Fri, 27 Jul 2001, Wagner Tomy wrote:
> $my2darray = Array();
>
> while($row = mysql_fetch_row($result)) {
> array_push($my2darray, $row);
> }
>
> OR:
>
> for($i = 0; $i < mysql_num_rows($result); $i++) {
> $row = mysql_fetch_row($result);
> $my2darr
...
if ($datei = @fopen($file[$i], "r+"))
...
On Thu, 26 Jul 2001, Vanessa wrote:
> Hello List,
>
> this is probably a very stupid question, but I dont know how to solve this
> little problem:
> I have a script with which text files (exported access db data sheets) can
> be uploaded to the mys
Hello,
check out if you have cookies turned on. Or, compile php with
--enable-trans-sid, where the PHPSESSID is automatically attached to all
URLs and forms without using cookies.
try to do session_register() before session_start() in 1.php, or do not
use session_start() in 1.php (only session_re
On the title page:
session_register("loggedin");
then:
session_start(); on every page
better to test session availability on every page:
if (!session_is_registered("loggedin")) {
// redirect user to title page where the session is registered
}
But your method of handling sessions
So, try to surf some free erotic,porn sites. They're full of that
window-spawing stuff :(
slavko
On Thu, 19 Jul 2001, kath wrote:
> Not with PHP. Maybe some Javascript could.
>
> But why would you want this? Planning some infinite spawning pop up website?
> =)
>
> - k
>
> On Thursday 19 July
Try to incerease 'max_execution_time' in your php.ini file - if your
connection is too slow, script execution time expires before the file is
uploaded. Increasing max_execution_time might help.
Try to increase max_filesize in your upload _form_, too.
Slavko
On Thu, 19 Jul 2001, Marcus w
Hello,
it isn't regular html, it is only server-parsed stuff .. Server Side
Includes.
You won't need that in PHP, just do:
blah blah blah ..
SSL
On Wed, 18 Jul 2001, jessica lee tishmack wrote:
> In html, I can do
>
>
>
> How do I do this in PHP?
>
> Thanks,
> Jessica
>
>
> --
> PHP
8 matches
Mail list logo