Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8
mariaceline_21
0
Unverified User
Recommended Answers
Jump to PostCan't really help you without seeing what the code before, on and after line 8 looks like.
Without seeing code I'm assuming your passing something like the return of explode() directly into another function. e.g.
$foo = array_shift( explode( '.', $bar ) );
Jump to PostPost your code..
Jump to PostStrict Standards: Only variables should be passed by reference
Try changing code at line number 8:
$imagename = end(explode('/',$_POST['img'])); $img = mysql_real_escape_string($imagename);
All 9 Replies
mschroeder
251
Bestower of Knowledge
Team Colleague
vibhaJ
126
Master Poster
mariaceline_21
0
Unverified User
vibhaJ
126
Master Poster
mariaceline_21
0
Unverified User
mariaceline_21
0
Unverified User
mschroeder
251
Bestower of Knowledge
Team Colleague
mariaceline_21
0
Unverified User
mariaceline_21
0
Unverified User
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.