Whoops. I must be botching this syntax because this is printing
",,0,," as the query:
All the first part of the query works and inserts records into the
database, and it's when I try to get mysql_insert_id () that I seem to
run into trouble. Ah. ave I not yet run the first query? The part of
th
Hello jack,
Friday, June 10, 2005, 3:11:17 AM, you wrote:
jj> All the first part of the query works and inserts records into the
jj> database, and it's when I try to get mysql_insert_id () that I seem to
jj> run into trouble. Ah. ave I not yet run the first query? The part of
jj> the code that ac
well, your trying to get the insert_id() without running the query first. so
you have to add:
mysql_query($query);
before:
$art_id = mysql_insert_id();
also, your foreach loop should be:
foreach ($media_types as $type)
(without the brackets [])
i am assuming $media_types is an array already.
Way do I get
Warning:
fopen(https://esos.state.nv.us/SOSServices/AnonymousAccess/CorpSearch/CorpDetails.aspx?CorpID=478765):
failed to open stream: Invalid argument
When I run this. I can access the page from the browser but not from
inside of a script
fopen("https://esos.state.nv.us/SOSS
101 - 104 of 104 matches
Mail list logo