Search found 82 matches

by phdatabase
Tue Jun 08, 2010 4:22 pm
Forum: PHP - Code
Topic: concerning States
Replies: 3
Views: 628

Re: concerning States

If you submit a form the page will automatically refresh, or at least will have that effect, to make the form submission available to the page.
by phdatabase
Tue Jun 08, 2010 12:18 pm
Forum: PHP - Code
Topic: append to existing array in Mysql
Replies: 1
Views: 289

Re: append to existing array in Mysql

Use the UPDATE query
by phdatabase
Tue Jun 08, 2010 10:02 am
Forum: PHP - Code
Topic: boolean query problem
Replies: 3
Views: 180

Re: boolean query problem

It's also nice to know what your calls return and under what conditions... http://us2.php.net/manual/en/mysqli.query.php
by phdatabase
Tue Jun 08, 2010 8:34 am
Forum: PHP - Code
Topic: referrer question
Replies: 1
Views: 194

Re: referrer question

Don't load it into an iframe.
by phdatabase
Tue Jun 08, 2010 8:30 am
Forum: PHP - Code
Topic: Insert text to particular position in a file
Replies: 3
Views: 647

Re: Insert text to particular position in a file

Any reason you couldn't do this? Text[1] = This is my first line of text Text[2] = This is my second text Text[3] = This is my third text Text[5] = This is fifth line of text Text[10] = This is tenth line in the file Then the solution becomes obvious If it's already in a file then explode on the new...
by phdatabase
Mon Jun 07, 2010 9:18 pm
Forum: PHP - Code
Topic: Help - Sessions
Replies: 2
Views: 248

Re: Help - Sessions

The good news is, you don't have to.
by phdatabase
Mon Jun 07, 2010 9:17 pm
Forum: PHP - Code
Topic: Uploading file architecture
Replies: 3
Views: 416

Re: Uploading file architecture

Once you use 'move_uploaded_file' it is no longer in the tmp_name. However, it is in the upload/name. So you can manipulate the tmp_name before move_uploaded_file or name afterward.
by phdatabase
Mon Jun 07, 2010 7:30 pm
Forum: Databases
Topic: [solved]Truncate in sqlite?
Replies: 0
Views: 566

[solved]Truncate in sqlite?

What is the sqlite syntax for truncating a table?
by phdatabase
Mon Jun 07, 2010 7:24 pm
Forum: PHP - Code
Topic: Reindex search nightly
Replies: 3
Views: 374

Re: Reindex search nightly

Use cron in *nix and scheduler in windows
by phdatabase
Mon Jun 07, 2010 1:01 pm
Forum: PHP - Code
Topic: How do u post a NULL to a Database?
Replies: 40
Views: 2541

Re: How do u post a NULL to a Database?

Why not just interpret a '' result as 'NULL' ?
by phdatabase
Mon Jun 07, 2010 10:35 am
Forum: PHP - Code
Topic: hidden field doesn't submitted ...
Replies: 2
Views: 426

Re: hidden field doesn't submitted ...

Use $_SESSION
by phdatabase
Mon Jun 07, 2010 10:31 am
Forum: UI Design/Usability
Topic: Re: Locking my craigslist post
Replies: 2
Views: 5756

Re: Locking my craigslist post

You are out of line. Anybody can go and look at craigslist without agreeing the the terms of use. If they required you to accept the terms prior to gaining access to the site, it would be a different matter. A bot can do nothing more than any person can. Further, if you bother to read the robots.txt...
by phdatabase
Fri Jun 04, 2010 1:49 pm
Forum: PHP - Code
Topic: Read from file
Replies: 8
Views: 258

Re: Read from file

This is your script? You wrote it? You didn't download it or find it in a book?

I don't do support for other developer's scripts.
by phdatabase
Fri Jun 04, 2010 1:39 pm
Forum: PHP - Code
Topic: Read from file
Replies: 8
Views: 258

Re: Read from file

Read the FAQs or contact support.